use gtk_object_sink() to destroy a floating widget.

2005-09-06  Sven Neumann  <sven@gimp.org>

	* app/dialogs/stroke-dialog.c (stroke_dialog_new): use
	gtk_object_sink() to destroy a floating widget.
This commit is contained in:
Sven Neumann 2005-09-06 16:00:36 +00:00 committed by Sven Neumann
parent cc6f3e762f
commit 042017e84c
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2005-09-06 Sven Neumann <sven@gimp.org>
* app/dialogs/stroke-dialog.c (stroke_dialog_new): use
gtk_object_sink() to destroy a floating widget.
2005-09-05 Sven Neumann <sven@gimp.org>
* plug-ins: Call gimp_window_set_transient_for_default_display()

View File

@ -138,10 +138,10 @@ stroke_dialog_new (GimpItem *item,
libart_radio = g_object_ref (group->next->data);
gtk_container_remove (GTK_CONTAINER (radio_box), libart_radio);
paint_radio = g_object_ref (group->data);
paint_radio = g_object_ref (group->data);
gtk_container_remove (GTK_CONTAINER (radio_box), paint_radio);
gtk_widget_destroy (radio_box);
gtk_object_sink (GTK_OBJECT (radio_box));
{
PangoFontDescription *font_desc;