build failure: Cannot convert from int to bool

Bug #915243 reported by Pim Vullers on 2012-01-12
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Strip
Undecided
Unassigned

Bug Description

When I try to build Strip I get the following error:

/var/tmp/portage/pantheon-extra/strip-9999/work/strip-9999/src/StripWindow.vala:250.26-250.26: error: Argument 1: Cannot convert from `int' to `bool'
   welcome.set_sensitive(1, last_path != "");
                         ^
/var/tmp/portage/pantheon-extra/strip-9999/work/strip-9999/src/StripWindow.vala:569.27-569.27: error: Argument 1: Cannot convert from `int' to `bool'
    welcome.set_sensitive(1, last_path != "");
                          ^
Compilation failed: 2 error(s), 8 warning(s)
make[2]: *** [src/ScaleWithBubble.c] Error 1
make[1]: *** [src/CMakeFiles/strip-comicreader.dir/all] Error 2
make: *** [all] Error 2

Build using Vala 0.14 and latest Granite. Changing the 1's to true should fix it I guess.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers