[gtk+] paned: Remove needless check
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] paned: Remove needless check
- Date: Thu, 28 Apr 2011 20:22:04 +0000 (UTC)
commit 3e9664ce656e14a851be275e8747dfb14427a1f0
Author: Benjamin Otte <otte redhat com>
Date: Thu Apr 28 14:53:45 2011 +0200
paned: Remove needless check
gtk/gtkpaned.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkpaned.c b/gtk/gtkpaned.c
index 9e87217..fad7b4a 100644
--- a/gtk/gtkpaned.c
+++ b/gtk/gtkpaned.c
@@ -1241,8 +1241,7 @@ gtk_paned_draw (GtkWidget *widget,
GtkPaned *paned = GTK_PANED (widget);
GtkPanedPrivate *priv = paned->priv;
- if (gtk_widget_get_visible (widget) && gtk_widget_get_mapped (widget) &&
- priv->child1 && gtk_widget_get_visible (priv->child1) &&
+ if (priv->child1 && gtk_widget_get_visible (priv->child1) &&
priv->child2 && gtk_widget_get_visible (priv->child2))
{
GtkStyleContext *context;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]