diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-05-25 23:46:53 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-05-25 23:46:53 +0800 |
commit | 6ba980d9eb23806fddd88be73af1b62d1dd3ead0 (patch) | |
tree | 8593fdc4f765c7824f5671e9c4c49de2c45a1ff7 /widgets/e-paned/e-hpaned.c | |
parent | bb241192eb773d7f0d178306dd55f9ca8e31c1f0 (diff) | |
download | gsoc2013-evolution-6ba980d9eb23806fddd88be73af1b62d1dd3ead0.tar gsoc2013-evolution-6ba980d9eb23806fddd88be73af1b62d1dd3ead0.tar.gz gsoc2013-evolution-6ba980d9eb23806fddd88be73af1b62d1dd3ead0.tar.bz2 gsoc2013-evolution-6ba980d9eb23806fddd88be73af1b62d1dd3ead0.tar.lz gsoc2013-evolution-6ba980d9eb23806fddd88be73af1b62d1dd3ead0.tar.xz gsoc2013-evolution-6ba980d9eb23806fddd88be73af1b62d1dd3ead0.tar.zst gsoc2013-evolution-6ba980d9eb23806fddd88be73af1b62d1dd3ead0.zip |
Fixed a bug where we were resizing a non-existent window.
2000-05-25 Christopher James Lahey <clahey@helixcode.com>
* widgets/e-paned/e-hpaned.c, widgets/e-paned/e-vpaned.c: Fixed a
bug where we were resizing a non-existent window.
svn path=/trunk/; revision=3200
Diffstat (limited to 'widgets/e-paned/e-hpaned.c')
-rw-r--r-- | widgets/e-paned/e-hpaned.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/widgets/e-paned/e-hpaned.c b/widgets/e-paned/e-hpaned.c index 0729e7c84e..0f4184ff57 100644 --- a/widgets/e-paned/e-hpaned.c +++ b/widgets/e-paned/e-hpaned.c @@ -193,12 +193,13 @@ e_hpaned_size_allocate (GtkWidget *widget, child2_requisition.width); /* Move the handle before the children so we don't get extra expose events */ + + if (GTK_WIDGET_REALIZED (widget)) + gdk_window_move_resize (widget->window, + allocation->x, allocation->y, + allocation->width, + allocation->height); - gdk_window_move_resize (widget->window, - allocation->x, allocation->y, - allocation->width, - allocation->height); - handle_shown = e_paned_handle_shown(paned); if (handle_shown) { |