forked from AuroraMiddleware/gtk
Revert "GtkNotebook: fix crash when DnD tabs between windows"
This reverts commit eeb9de80e1
.
This commit is contained in:
parent
261abe55c4
commit
cf172a5873
@ -4958,10 +4958,7 @@ gtk_notebook_real_remove (GtkNotebook *notebook,
|
||||
gtk_widget_unparent (page->child);
|
||||
|
||||
tab_label = page->tab_label;
|
||||
/* Do not unparent the tab label if it's already in another
|
||||
hierarchy. It means we are in the middle of a DnD and it's
|
||||
already taken care of. */
|
||||
if (tab_label && NOTEBOOK_IS_TAB_LABEL_PARENT (notebook, page))
|
||||
if (tab_label)
|
||||
{
|
||||
g_object_ref (tab_label);
|
||||
gtk_notebook_remove_tab_label (notebook, page);
|
||||
|
Loading…
Reference in New Issue
Block a user