[gtk+] notebook: remove check for is_drawable
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] notebook: remove check for is_drawable
- Date: Sun, 26 Sep 2010 13:36:27 +0000 (UTC)
commit 806bcb10ff2ee8b5c993c711b816cc8bf15ac26d
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 9b4ad40..1198520 100644
--- a/gtk/gtknotebook.c
+++ b/gtk/gtknotebook.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]