summaryrefslogtreecommitdiff
path: root/src/fileselection.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fileselection.c')
-rw-r--r--src/fileselection.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/fileselection.c b/src/fileselection.c
index a783b34a..995ba03f 100644
--- a/src/fileselection.c
+++ b/src/fileselection.c
@@ -94,18 +94,16 @@ zenity_fileselection_dialog_response (GtkWidget *widget, int response, gpointer
g_slist_free(selections);
g_free(separator);
- gtk_main_quit ();
break;
case GTK_RESPONSE_CANCEL:
zen_data->exit_code = zenity_util_return_exit_code (ZENITY_CANCEL);
- gtk_main_quit ();
break;
default:
/* Esc dialog */
zen_data->exit_code = zenity_util_return_exit_code (ZENITY_ESC);
- gtk_main_quit ();
break;
}
+ gtk_main_quit ();
}
bgstack15