[gtk+/rendering-cleanup-next: 60/155] notebook: remove check for is_drawable



commit d830bbef79d608277fae8b44dec1df737df17c29
Author: Benjamin Otte <otte redhat com>
Date:   Mon Sep 6 23:20:03 2010 +0200

    notebook: remove check for is_drawable
    
    When we reach that code, the widget will always be drawable

 gtk/gtknotebook.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c
index 7255b74..49747c8 100644
--- a/gtk/gtknotebook.c
+++ b/gtk/gtknotebook.c
@@ -4804,9 +4804,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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]