removed wrong condition check that caused tab labels not to be drawn under

2006-04-18  Carlos Garnacho  <carlosg@gnome.org>

        * gtk/gtknotebook.c (gtk_notebook_pages_allocate): removed wrong
        condition check that caused tab labels not to be drawn under certain
        circumstances. Bug #338734.
This commit is contained in:
Carlos Garnacho
2006-04-18 09:55:51 +00:00
committed by Carlos Garnacho
parent 9aaf712ad1
commit 27f53394be
3 changed files with 13 additions and 4 deletions

View File

@ -5110,11 +5110,8 @@ gtk_notebook_pages_allocate (GtkNotebook *notebook,
while (children)
{
page = children->data;
gtk_notebook_page_allocate (notebook, GTK_NOTEBOOK_PAGE (children));
children = children->next;
if (GTK_WIDGET_DRAWABLE (page->tab_label))
gtk_notebook_page_allocate (notebook, page);
}
gtk_notebook_redraw_tabs (notebook);