forked from AuroraMiddleware/gtk
stackswitcher: Avoid calling gtk_widget_destroy()
This commit is contained in:
parent
df3b88483d
commit
dbd1180ce4
@ -136,7 +136,7 @@ rebuild_child (GtkWidget *self,
|
||||
|
||||
button_child = gtk_bin_get_child (GTK_BIN (self));
|
||||
if (button_child != NULL)
|
||||
gtk_widget_destroy (button_child);
|
||||
gtk_container_remove (GTK_CONTAINER (self), button_child);
|
||||
|
||||
button_child = NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user