diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c index e41f4e732..ef9fba5d7 100644 --- a/gtk/gtknotebook.c +++ b/gtk/gtknotebook.c @@ -5276,7 +5276,7 @@ gtk_notebook_calculate_shown_tabs (GtkNotebook *notebook, remaining_space, STEP_NEXT); } - if (tab_space <= 0 || *remaining_space < 0) + if (tab_space <= 0 || *remaining_space <= 0) { /* show 1 tab */ notebook->first_tab = notebook->focus_tab;