notebook: remove check for is_drawable

When we reach that code, the widget will always be drawable
This commit is contained in:
Benjamin Otte 2010-09-06 23:20:03 +02:00
parent c46ce97145
commit 806bcb10ff

View File

@ -4752,9 +4752,6 @@ gtk_notebook_paint (GtkWidget *widget,
gboolean is_rtl;
gint tab_pos;
if (!gtk_widget_is_drawable (widget))
return;
notebook = GTK_NOTEBOOK (widget);
priv = notebook->priv;
is_rtl = gtk_widget_get_direction (widget) == GTK_TEXT_DIR_RTL;