summaryrefslogtreecommitdiff
path: root/src/ephy-main.c
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@igalia.com>2019-01-03 08:23:23 -0600
committerMichael Catanzaro <mcatanzaro@igalia.com>2019-01-04 09:01:58 -0600
commit1dbf87ed9f7f2651121273430d41a5b953bc6304 (patch)
treef125610813089e164683707102796cc09c3c4a72 /src/ephy-main.c
parent28a84367b866dd277d7f3a0f063d20ccef240a4e (diff)
downloadepiphany-1dbf87ed9f7f2651121273430d41a5b953bc6304.tar.gz
Remove broken bookmarks command line options
Fixes #338
Diffstat (limited to 'src/ephy-main.c')
-rw-r--r--src/ephy-main.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/ephy-main.c b/src/ephy-main.c
index 1090d266f..72c7de3a4 100644
--- a/src/ephy-main.c
+++ b/src/ephy-main.c
@@ -49,8 +49,6 @@ static gboolean open_in_new_tab = FALSE;
static gboolean open_in_new_window = FALSE;
static char *session_filename = NULL;
-static char *bookmark_url = NULL;
-static char *bookmarks_file = NULL;
static char **arguments = NULL;
static char *application_to_delete = NULL;
@@ -116,12 +114,8 @@ static const GOptionEntry option_entries[] =
N_("Open a new tab in an existing browser window"), NULL },
{ "new-window", 0, 0, G_OPTION_ARG_NONE, &open_in_new_window,
N_("Open a new browser window"), NULL },
- { "import-bookmarks", '\0', 0, G_OPTION_ARG_FILENAME, &bookmarks_file,
- N_("Import bookmarks from the given file"), N_("FILE") },
{ "load-session", 'l', 0, G_OPTION_ARG_FILENAME, &session_filename,
N_("Load the given session file"), N_("FILE") },
- { "add-bookmark", 't', 0, G_OPTION_ARG_STRING, &bookmark_url,
- N_("Add a bookmark"), N_("URL") },
{ "private-instance", 'p', 0, G_OPTION_ARG_NONE, &private_instance,
N_("Start a private instance"), NULL },
{ "incognito-mode", 'i', 0, G_OPTION_ARG_NONE, &incognito_mode,
@@ -440,9 +434,7 @@ main (int argc,
_ephy_shell_create_instance (mode);
ctx = ephy_shell_startup_context_new (startup_flags,
- bookmarks_file,
session_filename,
- bookmark_url,
arguments,
user_time);
g_strfreev (arguments);