summaryrefslogtreecommitdiff
path: root/gtk/gtkwidget.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-05-18 16:22:20 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-05-18 16:22:20 +0000
commitb1f056a8025d59e617affe6a03d655a92c61b289 (patch)
treea03731f43bcaa5a216584031fd94c66f06ec1c99 /gtk/gtkwidget.c
parent2763b81fe38d9150ef2009e971ba9f13bfa158d5 (diff)
downloadgtk+-b1f056a8025d59e617affe6a03d655a92c61b289.tar.gz
Remove the no longer needed workaround.
2005-05-18 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init): Remove the no longer needed workaround.
Diffstat (limited to 'gtk/gtkwidget.c')
-rw-r--r--gtk/gtkwidget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index da8bbaa5b4..7b925a50c9 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -2444,7 +2444,7 @@ widget_add_child_draw_rectangle (GtkWidget *widget,
{
GdkRectangle child_rect;
- if (!GTK_WIDGET_REALIZED (widget) ||
+ if (!GTK_WIDGET_MAPPED (widget) ||
widget->window != widget->parent->window)
return;