no need to connect to "destroy", GTK_DIALOG_DESTROY_WITH_PARENT does this

2004-02-29  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpunitmenu.c (gimp_unit_menu_create_selection):
	no need to connect to "destroy", GTK_DIALOG_DESTROY_WITH_PARENT
	does this for us already.
This commit is contained in:
Sven Neumann 2004-02-28 23:20:33 +00:00 committed by Sven Neumann
parent 5f6783a4fa
commit 2000fe59e5
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2004-02-29 Sven Neumann <sven@gimp.org>
* libgimpwidgets/gimpunitmenu.c (gimp_unit_menu_create_selection):
no need to connect to "destroy", GTK_DIALOG_DESTROY_WITH_PARENT
does this for us already.
2004-02-28 Sven Neumann <sven@gimp.org>
* libgimpwidgets/gimpdialog.c: removed the call to

View File

@ -628,9 +628,6 @@ gimp_unit_menu_create_selection (GimpUnitMenu *menu)
G_CALLBACK (gimp_unit_menu_selection_response),
menu);
g_signal_connect_object (menu, "destroy",
G_CALLBACK (gtk_widget_destroy),
menu->selection, G_CONNECT_SWAPPED);
g_signal_connect_object (menu, "unmap",
G_CALLBACK (gtk_widget_destroy),
menu->selection, G_CONNECT_SWAPPED);