summaryrefslogtreecommitdiff
path: root/tests/testfilechooser.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-09-04 19:53:18 +0200
committerBenjamin Otte <otte@redhat.com>2010-09-26 15:11:35 +0200
commitc85f91e14cf811307cf535bc5c99000cc3abadb3 (patch)
tree82bd05f81b8b22a17eca09d301db6bd0bbe1f6d3 /tests/testfilechooser.c
parent1d5796c95b8f21ec65920de5f87ebf6f9ce9a888 (diff)
downloadgtk+-c85f91e14cf811307cf535bc5c99000cc3abadb3.tar.gz
tests: Remove ability to set backend from testfilechooser
There's no backends anymore
Diffstat (limited to 'tests/testfilechooser.c')
-rw-r--r--tests/testfilechooser.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/testfilechooser.c b/tests/testfilechooser.c
index 443f5c38a8..0678f22e8e 100644
--- a/tests/testfilechooser.c
+++ b/tests/testfilechooser.c
@@ -488,13 +488,11 @@ main (int argc, char **argv)
gboolean force_rtl = FALSE;
gboolean multiple = FALSE;
char *action_arg = NULL;
- char *backend = NULL;
char *initial_filename = NULL;
char *initial_folder = NULL;
GError *error = NULL;
GOptionEntry options[] = {
{ "action", 'a', 0, G_OPTION_ARG_STRING, &action_arg, "Filechooser action", "ACTION" },
- { "backend", 'b', 0, G_OPTION_ARG_STRING, &backend, "Filechooser backend (default: gtk+)", "BACKEND" },
{ "multiple", 'm', 0, G_OPTION_ARG_NONE, &multiple, "Select-multiple", 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" },
@@ -534,17 +532,11 @@ main (int argc, char **argv)
g_free (action_arg);
}
- if (backend == NULL)
- backend = g_strdup ("gtk+");
-
dialog = g_object_new (GTK_TYPE_FILE_CHOOSER_DIALOG,
"action", action,
- "file-system-backend", backend,
"select-multiple", multiple,
NULL);
- g_free (backend);
-
switch (action)
{
case GTK_FILE_CHOOSER_ACTION_OPEN: