Fix a redraw problem with action widgets

Fixes bug 603245.
This commit is contained in:
Matthias Clasen 2010-01-18 14:04:49 -05:00
parent 2f73fb76c1
commit 833b9b42cc

View File

@ -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;