From b89760dbb2551973cdf6cc8647bf518b0f7eb564 Mon Sep 17 00:00:00 2001 From: Lee Willis Date: Thu, 9 Jan 2003 19:50:09 +0000 Subject: Destroy "Invalid path dialog" correctly 2003-01-09 Lee Willis * embed/mozilla/FilePicker.cpp: Destroy "Invalid path dialog" correctly --- ChangeLog | 6 ++++++ embed/mozilla/FilePicker.cpp | 1 + 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 902fd9a40..69a21e8ef 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-01-09 Lee Willis + + * embed/mozilla/FilePicker.cpp: + + Destroy "Invalid path dialog" correctly + 2003-01-09 Marco Pesenti Gritti * data/art/Makefile.am: diff --git a/embed/mozilla/FilePicker.cpp b/embed/mozilla/FilePicker.cpp index 144f2e1f2..3a51fc12b 100644 --- a/embed/mozilla/FilePicker.cpp +++ b/embed/mozilla/FilePicker.cpp @@ -371,6 +371,7 @@ NS_METHOD GFilePicker::SanityCheck (PRBool *retIsSane) gtk_window_set_modal (GTK_WINDOW(errorDialog), TRUE); gtk_dialog_run (GTK_DIALOG(errorDialog)); + gtk_widget_destroy (errorDialog); *retIsSane = PR_FALSE; return NS_OK; } -- cgit v1.2.3