summaryrefslogtreecommitdiff
path: root/gtk/gtkvpaned.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>1998-12-17 23:35:22 +0000
committerOwen Taylor <otaylor@src.gnome.org>1998-12-17 23:35:22 +0000
commit1bde7a559951e24b737e3c7c2b9692f77d758286 (patch)
tree4690d16038748b0681ceeb726e68123df638d482 /gtk/gtkvpaned.c
parent55ce42dad100465d08012e987bc5cd7d74629019 (diff)
downloadgtk+-1bde7a559951e24b737e3c7c2b9692f77d758286.tar.gz
Remove the info tag from the context so if the source unexpectedly
Thu Dec 17 18:25:52 1998 Owen Taylor <otaylor@redhat.com> * gtk/gtkdnd.c (gtk_drag_drop_finished): Remove the info tag from the context so if the source unexpectedly responds in the future, we do nothing properly. Thu Dec 17 18:24:41 1998 Owen Taylor <otaylor@redhat.com> * gtk/gtk[hv]paned.c (gtk_[hv]paned_size_allocate): Handle the case where one side of the the pane is empty. * gtk/gtkfilesel.c (gtk_file_selection_init): Set dir_title before using it. (Pointed out by Lavoie Philippe <lavoie@zeus.genie.uottawa.ca>)
Diffstat (limited to 'gtk/gtkvpaned.c')
-rw-r--r--gtk/gtkvpaned.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkvpaned.c b/gtk/gtkvpaned.c
index ed52a76bc3..ecbe7ca346 100644
--- a/gtk/gtkvpaned.c
+++ b/gtk/gtkvpaned.c
@@ -148,8 +148,8 @@ gtk_vpaned_size_allocate (GtkWidget *widget,
widget->allocation.height
- paned->gutter_size
- 2 * border_width,
- paned->child1->requisition.height,
- paned->child2->requisition.height);
+ paned->child1 ? paned->child1->requisition.height : 0,
+ paned->child2 ? paned->child2->requisition.height : 0);
/* Move the handle before the children so we don't get extra expose events */