build failure: Menu is ambiguous

Bug #942917 reported by Pim Vullers
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Strip
Fix Committed
Undecided
Unassigned

Bug Description

Trying to build strip I get the following error:

make -j5
[ 9%] Generating ScaleWithBubble.c, Strip.c, ComicLayout.c, ImageManipulator.c, ComicBook.c, ComicPage.c, TopDisplay.c, StripWindow.c, FileHandler.c, Resources.c, Resources.vapi
/var/tmp/portage/pantheon-extra/strip-9999/work/strip-9999/src/ScaleWithBubble.vala:155.11-155.14: error: `Menu' is an ambiguous reference between `GLib.Menu' and `Gtk.Menu'
  private Menu menu;
          ^^^^
/var/tmp/portage/pantheon-extra/strip-9999/work/strip-9999/src/StripWindow.vala:78.3-78.6: error: `Menu' is an ambiguous reference between `GLib.Menu' and `Gtk.Menu'
  Menu menu = new Menu();
  ^^^^
Compilation failed: 2 error(s), 0 warning(s)
make[2]: *** [src/ScaleWithBubble.c] Error 1
make[1]: *** [src/CMakeFiles/strip-comicreader.dir/all] Error 2
make: *** [all] Error 2

This should be easily fixed by using Gtk.Menu or GLib.Menu instead.

Related branches

Revision history for this message
Pim Vullers (pimvullers) wrote :

The related branch fixes the build issues and removes the using statements according to the coding standards.

Cody Garver (codygarver)
Changed in strip:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.