Cannot convert from `bool' to `Gtk.StateType'

Bug #1001307 reported by Pim Vullers
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Euclide
High
Pim Vullers

Bug Description

When trying to compile euclide I get the following error:

[ 35%] Generating main.c, Sidebar.c, config.vapi, OutputParser.c, NewProject.c, Resources.c, Terminals.c, BuildActions.c, ProjectManager.c, Settings.c, ToolArrow.c, FlowBox.c, Templates.c
cd /var/tmp/portage/dev-util/euclide-9999/work/euclide-9999_build/src && /usr/bin/valac-0.16 -C -b /var/tmp/portage/dev-util/euclide-9999/work/euclide-9999/src -d /var/tmp/portage/dev-util/euclide-9999/work/euclide-9999_build/src --pkg=gtk+-3.0 --pkg=granite --pkg=gee-1.0 --pkg=euclidecore --pkg=gtksourceview-3.0 --pkg=scratch --pkg=scratchcore --pkg=vte-2.90 --pkg=libpeas-1.0 --thread --vapidir=../euclidecore/ --vapidir=/var/tmp/portage/dev-util/euclide-9999/work/euclide-9999/src/../vapi/ /var/tmp/portage/dev-util/euclide-9999/work/euclide-9999/src/main.vala /var/tmp/portage/dev-util/euclide-9999/work/euclide-9999/src/Sidebar.vala /var/tmp/portage/dev-util/euclide-9999/work/euclide-9999/src/config.vapi /var/tmp/portage/dev-util/euclide-9999/work/euclide-9999/src/OutputParser.vala /var/tmp/portage/dev-util/euclide-9999/work/euclide-9999/src/NewProject.vala /var/tmp/portage/dev-util/euclide-9999/work/euclide-9999/src/Resources.vala /var/tmp/portage/dev-util/euclide-9999/work/euclide-9999/src/Terminals.vala /var/tmp/portage/dev-util/euclide-9999/work/euclide-9999/src/BuildActions.vala /var/tmp/portage/dev-util/euclide-9999/work/euclide-9999/src/ProjectManager.vala /var/tmp/portage/dev-util/euclide-9999/work/euclide-9999/src/Settings.vala /var/tmp/portage/dev-util/euclide-9999/work/euclide-9999/src/ToolArrow.vala /var/tmp/portage/dev-util/euclide-9999/work/euclide-9999/src/FlowBox.vala /var/tmp/portage/dev-util/euclide-9999/work/euclide-9999/src/Templates.vala
/var/tmp/portage/dev-util/euclide-9999/work/euclide-9999/src/BuildActions.vala:53.13-53.106: warning: unhandled error `GLib.SpawnError'
            Process.spawn_sync(project_path, {"mkdir", "build", "-p"}, null, SpawnFlags.SEARCH_PATH, null);
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/var/tmp/portage/dev-util/euclide-9999/work/euclide-9999/src/main.vala:252.17-252.151: warning: unhandled error `GLib.Error'
                raw_terminal.fork_command_full (Vte.PtyFlags.DEFAULT, project_path, new_arguments.to_array(), null, SpawnFlags.SEARCH_PATH, null, null);
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/var/tmp/portage/dev-util/euclide-9999/work/euclide-9999/src/main.vala:545.31-545.34: error: Argument 1: Cannot convert from `bool' to `Gtk.StateType'
        build_arrow.set_state(true);
                              ^^^^
/var/tmp/portage/dev-util/euclide-9999/work/euclide-9999/src/main.vala:562.31-562.35: error: Argument 1: Cannot convert from `bool' to `Gtk.StateType'
        build_arrow.set_state(false);
                              ^^^^^
Compilation failed: 2 error(s), 2 warning(s)

These are the valid state types: http://references.valadoc.org/#!api=gtk+-3.0/Gtk.StateType

Related branches

Changed in euclide:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Pim Vullers (pimvullers)
status: Confirmed → Fix Committed
Changed in euclide:
milestone: none → 0.1
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers