diff --git a/ChangeLog b/ChangeLog index 4172a8746..9504dd4be 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-09-17 Havoc Pennington + + * src/ui.c (meta_ui_init): add hackaround for the warning about + gtk-menu-bar-accel + 2001-09-17 Havoc Pennington * src/ui.c (meta_ui_get_default_mini_icon): diff --git a/src/ui.c b/src/ui.c index 0376e8f56..362988c98 100644 --- a/src/ui.c +++ b/src/ui.c @@ -39,6 +39,15 @@ meta_ui_init (int *argc, char ***argv) { if (!gtk_init_check (argc, argv)) meta_fatal ("Unable to open X display %s\n", XDisplayName (NULL)); + + { + /* FIXME this is a hackaround for a GTK bug with using menus without + * menubars. we have to use the get_type value since it's G_GNUC_CONST + */ + volatile GType t; + t = gtk_menu_bar_get_type (); + t += 5; + } } Display*