aboutsummaryrefslogtreecommitdiffstats
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
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.
-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;