gtk/gtkclist.c gtk/gtkcontainer.c gtk/gtkfilechooserbutton.c
2008-08-07 Michael Natterer <mitch@imendio.com> * gtk/gtkclist.c * gtk/gtkcontainer.c * gtk/gtkfilechooserbutton.c * gtk/gtkgamma.c * gtk/gtkmenutoolbutton.c * gtk/gtkoptionmenu.c * gtk/gtkradiobutton.c * gtk/gtkradiomenuitem.c * gtk/gtktipsquery.c * gtk/gtktree.c * gtk/gtktreeview.c: chain up unconditionally in destroy(). * gtk/gtkhandlebox.c: remove empty destroy() implementation. svn path=/trunk/; revision=21035
This commit is contained in:
committed by
Michael Natterer
parent
141af56c43
commit
8371b465dc
@ -1009,7 +1009,7 @@ static void
|
||||
gtk_container_destroy (GtkObject *object)
|
||||
{
|
||||
GtkContainer *container = GTK_CONTAINER (object);
|
||||
|
||||
|
||||
if (GTK_CONTAINER_RESIZE_PENDING (container))
|
||||
_gtk_container_dequeue_resize_handler (container);
|
||||
|
||||
@ -1018,11 +1018,10 @@ gtk_container_destroy (GtkObject *object)
|
||||
*/
|
||||
if (container->has_focus_chain)
|
||||
gtk_container_unset_focus_chain (container);
|
||||
|
||||
|
||||
gtk_container_foreach (container, (GtkCallback) gtk_widget_destroy, NULL);
|
||||
|
||||
if (GTK_OBJECT_CLASS (parent_class)->destroy)
|
||||
(* GTK_OBJECT_CLASS (parent_class)->destroy) (object);
|
||||
|
||||
GTK_OBJECT_CLASS (parent_class)->destroy (object);
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user