[gtk+/wip/gmenu: 64/87] bloatpad: Fix Edit to be a submenu



commit 894361419d7222c9ddb13cec38f8bc4dc86c61e2
Author: Colin Walters <walters verbum org>
Date:   Thu Dec 1 17:12:20 2011 -0500

    bloatpad: Fix Edit to be a submenu

 examples/bloatpad.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/examples/bloatpad.c b/examples/bloatpad.c
index 161d33e..482163a 100644
--- a/examples/bloatpad.c
+++ b/examples/bloatpad.c
@@ -186,7 +186,7 @@ create_window_menu (void)
   g_menu_append (edit_menu, "_Fullscreen", "win.fullscreen");
 
   menu = g_menu_new ();
-  g_menu_append_section (menu, "_Edit", (GMenuModel*)edit_menu);
+  g_menu_append_submenu (menu, "_Edit", (GMenuModel*)edit_menu);
 
   return G_MENU_MODEL (menu);
 }



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