From ca1c6796980e5787767a30bb9933fb4232931b3d Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Fri, 19 Dec 2003 17:56:07 +0000 Subject: Destroy file chooser with its parent window; fixes crashes. 2003-12-19 Christian Persch * lib/ephy-file-chooser.c: (ephy_file_chooser_new): Destroy file chooser with its parent window; fixes crashes. --- lib/ephy-file-chooser.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib') 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; -- cgit v1.2.3