After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 678003 - Fix compilation with newer versions of GLib
Fix compilation with newer versions of GLib
Status: RESOLVED FIXED
Product: moserial
Classification: Other
Component: general
svn head
Other All
: Normal normal
: ---
Assigned To: moserial-maint
moserial-maint
Depends on:
Blocks:
 
 
Reported: 2012-06-13 11:18 UTC by Bastien Nocera
Modified: 2012-06-13 15:37 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix compilation with newer versions of GLib (1.30 KB, patch)
2012-06-13 11:18 UTC, Bastien Nocera
committed Details | Review

Description Bastien Nocera 2012-06-13 11:18:57 UTC
.
Comment 1 Bastien Nocera 2012-06-13 11:18:59 UTC
Created attachment 216258 [details] [review]
Fix compilation with newer versions of GLib

GIO now contains a GMenuItem object type.

src/MainWindow.vala:300.17-300.24: error: `MenuItem' is an ambiguous reference between `GLib.MenuItem' and `Gtk.MenuItem'
MenuItem recentFileItem = (Gtk.MenuItem)builder.get_object("menubar_open_recent");
^^^^^^^^
Comment 2 Michael Chudobiak 2012-06-13 15:37:16 UTC
Many thanks! Patch committed.