mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
GtkColorSelection: Don't leak a context menu
This was pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=720401
This commit is contained in:
parent
47ebd5c6b1
commit
3dab856103
@ -1485,6 +1485,7 @@ do_popup (GtkColorSelection *colorsel,
|
||||
colorsel);
|
||||
|
||||
menu = gtk_menu_new ();
|
||||
g_signal_connect (menu, "hide", G_CALLBACK (gtk_widget_destroy), NULL);
|
||||
|
||||
mi = gtk_menu_item_new_with_mnemonic (_("_Save color here"));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user