summaryrefslogtreecommitdiff
path: root/src/option.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/option.c')
-rw-r--r--src/option.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/option.c b/src/option.c
index 833bf0d..fb65cd5 100644
--- a/src/option.c
+++ b/src/option.c
@@ -71,7 +71,6 @@ static gboolean zenity_info_active;
static gboolean zenity_file_active;
static gboolean zenity_file_directory;
static gboolean zenity_file_save;
-static gboolean zenity_file_confirm_overwrite;
static gchar **zenity_file_filter;
/* List Dialog Options */
@@ -424,15 +423,7 @@ static GOptionEntry file_selection_options[] =
&zenity_general_separator,
N_ ("Set output separator character"),
N_ ("SEPARATOR")},
- {"confirm-overwrite",
- '\0',
- 0,
- G_OPTION_ARG_NONE,
- &zenity_file_confirm_overwrite,
- N_ ("Confirm file selection if filename already exists"),
- NULL},
- {
- "file-filter",
+ {"file-filter",
'\0',
0,
G_OPTION_ARG_STRING_ARRAY,
@@ -1232,7 +1223,6 @@ zenity_file_pre_callback (GOptionContext *context, GOptionGroup *group,
zenity_file_active = FALSE;
zenity_file_directory = FALSE;
zenity_file_save = FALSE;
- zenity_file_confirm_overwrite = FALSE;
zenity_file_filter = NULL;
return TRUE;
@@ -1504,7 +1494,6 @@ zenity_file_post_callback (GOptionContext *context, GOptionGroup *group,
results->file_data->multi = zenity_general_multiple;
results->file_data->directory = zenity_file_directory;
results->file_data->save = zenity_file_save;
- results->file_data->confirm_overwrite = zenity_file_confirm_overwrite;
results->file_data->separator = zenity_general_separator;
results->file_data->filter = zenity_file_filter;
} else {