From 833b9b42cc1fb0237e9d9fbf1324ec3a15cbdbc3 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 18 Jan 2010 14:04:49 -0500 Subject: [PATCH] Fix a redraw problem with action widgets Fixes bug 603245. --- gtk/gtknotebook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c index e41f4e7324..ef9fba5d73 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;