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:

committed by
Sven Neumann

parent
cc6f3e762f
commit
042017e84c
@ -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;
|
||||
|
Reference in New Issue
Block a user