Reset error to avoid crash on multiple errors

master
Yevgen Muntyan 2007-07-31 03:43:16 -05:00
parent 6875d054db
commit 71418786d8
1 changed files with 1 additions and 0 deletions

View File

@ -3090,6 +3090,7 @@ file_view_delete_selected (MooFileView *fileview)
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog),
"%s", error->message);
g_error_free (error);
error = NULL;
}
gtk_dialog_add_buttons (GTK_DIALOG (dialog),