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)
This commit is contained in:
Matthias Clasen 2004-07-27 06:35:51 +00:00 committed by Matthias Clasen
parent 502c09e65c
commit dd7cc1521f
5 changed files with 22 additions and 0 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -1,3 +1,8 @@
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

View File

@ -1,3 +1,8 @@
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

View File

@ -1,3 +1,8 @@
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

View File

@ -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))