[epiphany] ephy-main: remove unused option
- From: Xan Lopez <xan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] ephy-main: remove unused option
- Date: Wed, 12 Dec 2012 14:34:39 +0000 (UTC)
commit 28367302f0d83424dc6855930b02592e2510c46b
Author: Xan Lopez <xan igalia com>
Date: Wed Dec 12 15:34:19 2012 +0100
ephy-main: remove unused option
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 611a833..e31554b 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]