Dont show the GtkWindow when removing it from a parent and becomming a toplevel
Showing the window causes it to try to grab focus, this causes problems when embedded toplevels run through dispose cycles.
This commit is contained in:
@ -9,6 +9,7 @@ remove_notebook_page (GtkWidget *button,
|
||||
GtkWidget *toplevel)
|
||||
{
|
||||
gtk_container_remove (GTK_CONTAINER (notebook), toplevel);
|
||||
gtk_widget_show (toplevel);
|
||||
}
|
||||
|
||||
GtkWidget *
|
||||
|
||||
Reference in New Issue
Block a user