aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-file-chooser.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-12-20 01:56:07 +0800
committerChristian Persch <chpe@src.gnome.org>2003-12-20 01:56:07 +0800
commitca1c6796980e5787767a30bb9933fb4232931b3d (patch)
tree31cdba63654e7ddeeb2145c2a5f74e0642238f9b /lib/ephy-file-chooser.c
parent6e0a43085d9665d4f91035b56272eb57e2ec1978 (diff)
downloadgsoc2013-epiphany-ca1c6796980e5787767a30bb9933fb4232931b3d.tar
gsoc2013-epiphany-ca1c6796980e5787767a30bb9933fb4232931b3d.tar.gz
gsoc2013-epiphany-ca1c6796980e5787767a30bb9933fb4232931b3d.tar.bz2
gsoc2013-epiphany-ca1c6796980e5787767a30bb9933fb4232931b3d.tar.lz
gsoc2013-epiphany-ca1c6796980e5787767a30bb9933fb4232931b3d.tar.xz
gsoc2013-epiphany-ca1c6796980e5787767a30bb9933fb4232931b3d.tar.zst
gsoc2013-epiphany-ca1c6796980e5787767a30bb9933fb4232931b3d.zip
Destroy file chooser with its parent window; fixes crashes.
2003-12-19 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-file-chooser.c: (ephy_file_chooser_new): Destroy file chooser with its parent window; fixes crashes.
Diffstat (limited to 'lib/ephy-file-chooser.c')
-rw-r--r--lib/ephy-file-chooser.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ephy-file-chooser.c b/lib/ephy-file-chooser.c
index 668c7b522..ecbd329f9 100644
--- a/lib/ephy-file-chooser.c
+++ b/lib/ephy-file-chooser.c
@@ -265,6 +265,8 @@ ephy_file_chooser_new (const char *title,
{
gtk_window_set_transient_for (GTK_WINDOW (dialog),
GTK_WINDOW (parent));
+
+ gtk_window_set_destroy_with_parent (GTK_WINDOW (dialog), TRUE);
}
return dialog;