summaryrefslogtreecommitdiff
path: root/src/actions.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions.c')
-rw-r--r--src/actions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/actions.c b/src/actions.c
index cad7a7a..bbb88f1 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -224,9 +224,9 @@ get_archive_filename_from_selector (DlgNewData *data)
debug (DEBUG_INFO, "create/save %s\n", uri);
if (uri_exists (uri)) {
- GtkWidget *dialog;
if (! is_supported_extension (data->dialog, uri, data->supported_types)) {
+ GtkWidget *dialog;
dialog = _gtk_error_dialog_new (GTK_WINDOW (data->dialog),
GTK_DIALOG_MODAL,
NULL,