mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
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:
parent
502c09e65c
commit
dd7cc1521f
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user