mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
check for null before adding menu; closes #496054.
2007-12-08 Matthias Clasen <mclasen@redhat.com> * src/menu.c (meta_window_menu_new): check for null before adding menu; closes #496054. svn path=/trunk/; revision=3465
This commit is contained in:
parent
4564236abf
commit
e7dc04d28e
@ -1,3 +1,8 @@
|
||||
2007-12-08 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* src/menu.c (meta_window_menu_new): check for null before adding
|
||||
menu; closes #496054.
|
||||
|
||||
2007-12-08 Thomas Thurman <tthurman@gnome.org>
|
||||
|
||||
* src/keybindings.c (meta_display_process_key_event): Recur if the
|
||||
|
@ -474,12 +474,14 @@ meta_window_menu_new (MetaFrames *frames,
|
||||
g_free, FALSE, FALSE);
|
||||
}
|
||||
|
||||
|
||||
if (mi)
|
||||
{
|
||||
gtk_menu_shell_append (GTK_MENU_SHELL (menu->menu), mi);
|
||||
|
||||
gtk_widget_show (mi);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
g_signal_connect (menu->menu, "selection_done",
|
||||
|
Loading…
Reference in New Issue
Block a user