[gtk+/rendering-cleanup-next: 59/153] notebook: remove check for is_drawable
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/rendering-cleanup-next: 59/153] notebook: remove check for is_drawable
- Date: Sat, 11 Sep 2010 04:56:23 +0000 (UTC)
commit f794a0ac101563fcccb7ed1a6b14eabbde1db244
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 739c056..6249107 100644
--- a/gtk/gtknotebook.c
+++ b/gtk/gtknotebook.c
@@ -4801,9 +4801,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]