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



commit c542085d2aad6224394a331c87a92bf960f33f09
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 3412a29..a36a395 100644
--- a/gtk/gtknotebook.c
+++ b/gtk/gtknotebook.c
@@ -4761,9 +4761,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]