gtknotebook: Avoid drawing artifacts with action widgets and long tab labels (bgo#603245)

This commit is contained in:
Johannes Schmid 2009-12-01 20:05:09 +01:00
parent f332506804
commit a8ec02c930

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;