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:
Matthias Clasen 2013-12-17 23:26:16 -05:00
parent 47ebd5c6b1
commit 3dab856103

View File

@ -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"));