diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-03-29 00:15:11 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-03-29 00:15:11 +0000 |
commit | 7dfb78f88292a96f537c3d265f14b4fdc7588649 (patch) | |
tree | 2c0028d4c83293459f2e75881d89ddbafd7c0829 /gtk/gtkhpaned.c | |
parent | fe60d43a26380580e54ddec62a3746253f07cc0d (diff) | |
download | gtk+-7dfb78f88292a96f537c3d265f14b4fdc7588649.tar.gz |
Don't show the window unless the widget is mapped. (#76742, Dennis
Thu Mar 28 18:38:30 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtk[hv]paned.c (gtk_[hv]paned_size_allocate):
Don't show the window unless the widget is mapped.
(#76742, Dennis Björklund, Soeren Sandmann)
Diffstat (limited to 'gtk/gtkhpaned.c')
-rw-r--r-- | gtk/gtkhpaned.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkhpaned.c b/gtk/gtkhpaned.c index b0e6481a66..4d35345a5b 100644 --- a/gtk/gtkhpaned.c +++ b/gtk/gtkhpaned.c @@ -172,7 +172,8 @@ gtk_hpaned_size_allocate (GtkWidget *widget, if (GTK_WIDGET_REALIZED (widget)) { - gdk_window_show (paned->handle); + if (GTK_WIDGET_MAPPED (widget)) + gdk_window_show (paned->handle); gdk_window_move_resize (paned->handle, paned->handle_pos.x, paned->handle_pos.y, |