diff options
author | Owen Taylor <otaylor@src.gnome.org> | 2000-03-28 01:24:44 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2000-03-28 01:24:44 +0000 |
commit | 8098546227671a5d082fdf8f4811ee3ffca7f6d8 (patch) | |
tree | d1857c89ee73451cbb04bbf595c0dc8bade55987 /gtk/gtkbin.c | |
parent | 4238d406e928d1afd95ab0c6ae51b6a37f9780ea (diff) | |
download | gtk+-8098546227671a5d082fdf8f4811ee3ffca7f6d8.tar.gz |
Merge no-flicker branch into HEAD
Diffstat (limited to 'gtk/gtkbin.c')
-rw-r--r-- | gtk/gtkbin.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gtk/gtkbin.c b/gtk/gtkbin.c index bfb3dfadf3..d5100ba3a6 100644 --- a/gtk/gtkbin.c +++ b/gtk/gtkbin.c @@ -147,9 +147,7 @@ gtk_bin_unmap (GtkWidget *widget) GTK_WIDGET_UNSET_FLAGS (widget, GTK_MAPPED); bin = GTK_BIN (widget); - if (GTK_WIDGET_NO_WINDOW (widget)) - gtk_widget_queue_clear (widget); - else + if (!GTK_WIDGET_NO_WINDOW (widget)) gdk_window_hide (widget->window); if (bin->child && GTK_WIDGET_MAPPED (bin->child)) |