[gnome-games] gnotravex: Fix build with Gtk.Application



commit a55e04640d0c1406e81eec07fcdb61aa15041434
Author: Robert Ancell <robert ancell canonical com>
Date:   Sat Feb 4 21:40:32 2012 +1100

    gnotravex: Fix build with Gtk.Application

 gnotravex/src/gnotravex.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnotravex/src/gnotravex.vala b/gnotravex/src/gnotravex.vala
index 5ab67d8..20e2780 100644
--- a/gnotravex/src/gnotravex.vala
+++ b/gnotravex/src/gnotravex.vala
@@ -43,7 +43,7 @@ public class Gnotravex : Gtk.Application
         {
             var builder = new Gtk.Builder ();
             builder.add_from_string (menu_description, -1);
-            app_menu = (GLib.MenuModel) builder.get_object ("app-menu");
+            set_app_menu ((GLib.MenuModel) builder.get_object ("app-menu"));
         }
         catch (Error e)
         {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]