aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--lib/ephy-file-chooser.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d59a24224..6b45126d8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
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.
+
+2003-12-19 Christian Persch <chpe@cvs.gnome.org>
+
* src/ephy-tab.c: (ephy_tab_dom_mouse_click_cb):
Improve comment.
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;