summaryrefslogtreecommitdiff
path: root/gtk/gtkaboutdialog.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2004-10-28 14:36:18 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2004-10-28 14:36:18 +0000
commit2d6328d699a654ec7bc589e340b4bb59943aacaf (patch)
tree285c00daf9cf1c64e687627598c1c07c6b8c26a1 /gtk/gtkaboutdialog.c
parent4229a1ee350f24700dc3f30561399dbdc5dfd3c9 (diff)
downloadgtk+-2d6328d699a654ec7bc589e340b4bb59943aacaf.tar.gz
Destroy the dialog with the parent. (#156557, Paolo Borelli)
2004-10-28 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaboutdialog.c (gtk_show_about_dialog): Destroy the dialog with the parent. (#156557, Paolo Borelli)
Diffstat (limited to 'gtk/gtkaboutdialog.c')
-rw-r--r--gtk/gtkaboutdialog.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkaboutdialog.c b/gtk/gtkaboutdialog.c
index 8b351541f2..095743b0c7 100644
--- a/gtk/gtkaboutdialog.c
+++ b/gtk/gtkaboutdialog.c
@@ -2014,6 +2014,7 @@ gtk_show_about_dialog (GtkWindow *parent,
if (parent)
{
gtk_window_set_transient_for (GTK_WINDOW (dialog), parent);
+ gtk_window_set_destroy_with_parent (GTK_WINDOW (dialog), TRUE);
g_object_set_data_full (G_OBJECT (parent), "gtk-about-dialog",
dialog, g_object_unref);
}