summaryrefslogtreecommitdiff
path: root/tests/testfilechooser.c
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2020-02-21 16:44:39 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2020-02-22 15:22:06 +0000
commitb09e7df81b433309374bd489e26fcd011dda988e (patch)
treefbf91c1f3d123f083618764bfc2868de7e66025d /tests/testfilechooser.c
parent516eab5c4374189600a19499d8f7db659d1157b2 (diff)
downloadgtk+-b09e7df81b433309374bd489e26fcd011dda988e.tar.gz
Remove GtkFileChooser:local-only
Now that the whole API goes through GFile we don't have the weird split between local-only and non-local-only modes.
Diffstat (limited to 'tests/testfilechooser.c')
-rw-r--r--tests/testfilechooser.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/testfilechooser.c b/tests/testfilechooser.c
index c1c7b53d9a..8a3aca95d3 100644
--- a/tests/testfilechooser.c
+++ b/tests/testfilechooser.c
@@ -500,7 +500,6 @@ main (int argc, char **argv)
GtkFileFilter *filter;
gboolean force_rtl = FALSE;
gboolean multiple = FALSE;
- gboolean local_only = FALSE;
char *action_arg = NULL;
char *initial_filename = NULL;
char *initial_folder = NULL;
@@ -509,7 +508,6 @@ main (int argc, char **argv)
GOptionEntry options[] = {
{ "action", 'a', 0, G_OPTION_ARG_STRING, &action_arg, "Filechooser action", "ACTION" },
{ "multiple", 'm', 0, G_OPTION_ARG_NONE, &multiple, "Select multiple", NULL },
- { "local-only", 'l', 0, G_OPTION_ARG_NONE, &local_only, "Local only", NULL },
{ "right-to-left", 'r', 0, G_OPTION_ARG_NONE, &force_rtl, "Force right-to-left layout.", NULL },
{ "initial-filename", 'f', 0, G_OPTION_ARG_FILENAME, &initial_filename, "Initial filename to select", "FILENAME" },
{ "initial-folder", 'F', 0, G_OPTION_ARG_FILENAME, &initial_folder, "Initial folder to show", "FILENAME" },
@@ -563,7 +561,6 @@ main (int argc, char **argv)
dialog = g_object_new (GTK_TYPE_FILE_CHOOSER_DIALOG,
"action", action,
"select-multiple", multiple,
- "local-only", local_only,
NULL);
switch (action)