From c0f7f7b356da2665cef68281b711f780ece55e0e Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Mon, 13 Jan 2003 20:54:44 +0000 Subject: Dont crash when schemas installed incorrectly 2003-01-13 Marco Pesenti Gritti * embed/mozilla/FilePicker.cpp: * src/general-prefs.c: (create_default_charset_menu): Dont crash when schemas installed incorrectly --- embed/mozilla/FilePicker.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'embed') diff --git a/embed/mozilla/FilePicker.cpp b/embed/mozilla/FilePicker.cpp index 3a51fc12b..424bc8910 100644 --- a/embed/mozilla/FilePicker.cpp +++ b/embed/mozilla/FilePicker.cpp @@ -406,6 +406,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; } g_free (errorText); -- cgit v1.2.3