Commit dd7cc152 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Hide parentless windows when disposing them. (#133231, Michael Natterer)

Tue Jul 27 02:34:06 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkwidget.c (gtk_widget_dispose): Hide parentless
	windows when disposing them.  (#133231, Michael Natterer)
parent 502c09e6
Tue Jul 27 02:34:06 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkwidget.c (gtk_widget_dispose): Hide parentless
windows when disposing them. (#133231, Michael Natterer)
2004-07-26 Matthias Clasen <mclasen@redhat.com>
* gtk/gtklabel.c (gtk_label_class_init): Expand the documentation
......
Tue Jul 27 02:34:06 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkwidget.c (gtk_widget_dispose): Hide parentless
windows when disposing them. (#133231, Michael Natterer)
2004-07-26 Matthias Clasen <mclasen@redhat.com>
* gtk/gtklabel.c (gtk_label_class_init): Expand the documentation
......
Tue Jul 27 02:34:06 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkwidget.c (gtk_widget_dispose): Hide parentless
windows when disposing them. (#133231, Michael Natterer)
2004-07-26 Matthias Clasen <mclasen@redhat.com>
* gtk/gtklabel.c (gtk_label_class_init): Expand the documentation
......
Tue Jul 27 02:34:06 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkwidget.c (gtk_widget_dispose): Hide parentless
windows when disposing them. (#133231, Michael Natterer)
2004-07-26 Matthias Clasen <mclasen@redhat.com>
* gtk/gtklabel.c (gtk_label_class_init): Expand the documentation
......
......@@ -6374,6 +6374,8 @@ gtk_widget_dispose (GObject *object)
if (widget->parent)
gtk_container_remove (GTK_CONTAINER (widget->parent), widget);
else if (GTK_WIDGET_VISIBLE (widget))
gtk_widget_hide (widget);
GTK_WIDGET_UNSET_FLAGS (widget, GTK_VISIBLE);
if (GTK_WIDGET_REALIZED (widget))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment