diff options
author | Xan Lopez <xan@igalia.com> | 2012-12-12 22:34:19 +0800 |
---|---|---|
committer | Xan Lopez <xan@igalia.com> | 2012-12-12 22:34:19 +0800 |
commit | 28367302f0d83424dc6855930b02592e2510c46b (patch) | |
tree | ef73ae8189c93caf1341a0aa5aa0204a06a45f15 /src | |
parent | 60034d36b29a86a67ef5c38211125264d6d4e9b1 (diff) | |
download | gsoc2013-epiphany-28367302f0d83424dc6855930b02592e2510c46b.tar.gz gsoc2013-epiphany-28367302f0d83424dc6855930b02592e2510c46b.tar.zst gsoc2013-epiphany-28367302f0d83424dc6855930b02592e2510c46b.zip |
ephy-main: remove unused option
Diffstat (limited to 'src')
-rw-r--r-- | src/ephy-main.c | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/src/ephy-main.c b/src/ephy-main.c index 611a83360..e31554b4e 100644 --- a/src/ephy-main.c +++ b/src/ephy-main.c @@ -2,7 +2,7 @@ /* * Copyright © 2000-2002 Marco Pesenti Gritti * Copyright © 2006, 2008 Christian Persch - * Copyright © 2011 Igalia S.L. + * Copyright © 2011,2012 Igalia S.L. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -54,11 +54,9 @@ static char *bookmarks_file = NULL; static char **arguments = NULL; static char *application_to_delete = NULL; -/* Only set from options in debug builds */ static gboolean private_instance = FALSE; static gboolean incognito_mode = FALSE; static gboolean application_mode = FALSE; -static gboolean keep_temp_directory = FALSE; static char *profile_directory = NULL; static gboolean @@ -104,15 +102,6 @@ static const GOptionEntry option_entries[] = { NULL } }; -#ifdef GNOME_ENABLE_DEBUG -static GOptionEntry debug_option_entries[] = -{ - { "keep-tempdir", 0, 0, G_OPTION_ARG_NONE, &keep_temp_directory, - "Don't delete the temporary directory on exit", NULL }, - { NULL } -}; -#endif /* GNOME_ENABLE_DEBUG */ - /* adapted from gtk+/gdk/x11/gdkdisplay-x11.c */ static guint32 get_startup_id (void) @@ -399,7 +388,7 @@ main (int argc, flags |= EPHY_FILE_HELPERS_PRIVATE_PROFILE; if (incognito_mode) flags |= EPHY_FILE_HELPERS_STEAL_DATA; - if ((keep_temp_directory || profile_directory) && !incognito_mode) + if (profile_directory && !incognito_mode) flags |= EPHY_FILE_HELPERS_KEEP_DIR; if (!ephy_file_helpers_init (profile_directory, flags, |