diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c index e75ac50ab2..56b601dfc1 100644 --- a/gtk/gtknotebook.c +++ b/gtk/gtknotebook.c @@ -6002,8 +6002,7 @@ gtk_notebook_calculate_tabs_allocation (GtkNotebook *notebook, } /* Don't move the current tab past the last position during tabs reordering */ - if (children && - priv->operation == DRAG_OPERATION_REORDER && + if (priv->operation == DRAG_OPERATION_REORDER && direction == STEP_NEXT) { switch (tab_pos)