forked from AuroraMiddleware/gtk
Check for NULL children, #97913.
2002-11-07 Anders Carlsson <andersca@gnu.org> * gtk/gtkhpaned.c: (gtk_hpaned_size_allocate): * gtk/gtkvpaned.c: (gtk_vpaned_size_allocate): Check for NULL children, #97913.
This commit is contained in:
parent
50884b70f4
commit
9232e400a1
@ -1,3 +1,9 @@
|
||||
2002-11-07 Anders Carlsson <andersca@gnu.org>
|
||||
|
||||
* gtk/gtkhpaned.c: (gtk_hpaned_size_allocate):
|
||||
* gtk/gtkvpaned.c: (gtk_vpaned_size_allocate):
|
||||
Check for NULL children, #97913.
|
||||
|
||||
Thu Nov 7 14:24:45 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkhandlebox.c: Add a snap_edge_set property to
|
||||
|
@ -1,3 +1,9 @@
|
||||
2002-11-07 Anders Carlsson <andersca@gnu.org>
|
||||
|
||||
* gtk/gtkhpaned.c: (gtk_hpaned_size_allocate):
|
||||
* gtk/gtkvpaned.c: (gtk_vpaned_size_allocate):
|
||||
Check for NULL children, #97913.
|
||||
|
||||
Thu Nov 7 14:24:45 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkhandlebox.c: Add a snap_edge_set property to
|
||||
|
@ -1,3 +1,9 @@
|
||||
2002-11-07 Anders Carlsson <andersca@gnu.org>
|
||||
|
||||
* gtk/gtkhpaned.c: (gtk_hpaned_size_allocate):
|
||||
* gtk/gtkvpaned.c: (gtk_vpaned_size_allocate):
|
||||
Check for NULL children, #97913.
|
||||
|
||||
Thu Nov 7 14:24:45 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkhandlebox.c: Add a snap_edge_set property to
|
||||
|
@ -1,3 +1,9 @@
|
||||
2002-11-07 Anders Carlsson <andersca@gnu.org>
|
||||
|
||||
* gtk/gtkhpaned.c: (gtk_hpaned_size_allocate):
|
||||
* gtk/gtkvpaned.c: (gtk_vpaned_size_allocate):
|
||||
Check for NULL children, #97913.
|
||||
|
||||
Thu Nov 7 14:24:45 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkhandlebox.c: Add a snap_edge_set property to
|
||||
|
@ -1,3 +1,9 @@
|
||||
2002-11-07 Anders Carlsson <andersca@gnu.org>
|
||||
|
||||
* gtk/gtkhpaned.c: (gtk_hpaned_size_allocate):
|
||||
* gtk/gtkvpaned.c: (gtk_vpaned_size_allocate):
|
||||
Check for NULL children, #97913.
|
||||
|
||||
Thu Nov 7 14:24:45 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkhandlebox.c: Add a snap_edge_set property to
|
||||
|
@ -1,3 +1,9 @@
|
||||
2002-11-07 Anders Carlsson <andersca@gnu.org>
|
||||
|
||||
* gtk/gtkhpaned.c: (gtk_hpaned_size_allocate):
|
||||
* gtk/gtkvpaned.c: (gtk_vpaned_size_allocate):
|
||||
Check for NULL children, #97913.
|
||||
|
||||
Thu Nov 7 14:24:45 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkhandlebox.c: Add a snap_edge_set property to
|
||||
|
@ -212,9 +212,11 @@ gtk_hpaned_size_allocate (GtkWidget *widget,
|
||||
|
||||
if (GTK_WIDGET_REALIZED (widget))
|
||||
gdk_window_hide (paned->handle);
|
||||
|
||||
gtk_widget_set_child_visible (paned->child1, TRUE);
|
||||
gtk_widget_set_child_visible (paned->child2, TRUE);
|
||||
|
||||
if (paned->child1)
|
||||
gtk_widget_set_child_visible (paned->child1, TRUE);
|
||||
if (paned->child2)
|
||||
gtk_widget_set_child_visible (paned->child2, TRUE);
|
||||
|
||||
child_allocation.x = widget->allocation.x + border_width;
|
||||
child_allocation.y = widget->allocation.y + border_width;
|
||||
|
@ -212,9 +212,11 @@ gtk_vpaned_size_allocate (GtkWidget *widget,
|
||||
|
||||
if (GTK_WIDGET_REALIZED (widget))
|
||||
gdk_window_hide (paned->handle);
|
||||
|
||||
gtk_widget_set_child_visible (paned->child1, TRUE);
|
||||
gtk_widget_set_child_visible (paned->child2, TRUE);
|
||||
|
||||
if (paned->child1)
|
||||
gtk_widget_set_child_visible (paned->child1, TRUE);
|
||||
if (paned->child2)
|
||||
gtk_widget_set_child_visible (paned->child2, TRUE);
|
||||
|
||||
child_allocation.x = widget->allocation.x + border_width;
|
||||
child_allocation.y = widget->allocation.y + border_width;
|
||||
|
Loading…
Reference in New Issue
Block a user