diff options
-rw-r--r-- | doc/reference/libeshell/libeshell-sections.txt | 1 | ||||
-rw-r--r-- | shell/e-shell.c | 18 | ||||
-rw-r--r-- | shell/e-shell.h | 3 | ||||
-rw-r--r-- | shell/main.c | 3 |
4 files changed, 0 insertions, 25 deletions
diff --git a/doc/reference/libeshell/libeshell-sections.txt b/doc/reference/libeshell/libeshell-sections.txt index 3359bbd4b5..f8b1f14200 100644 --- a/doc/reference/libeshell/libeshell-sections.txt +++ b/doc/reference/libeshell/libeshell-sections.txt @@ -26,7 +26,6 @@ e_shell_event EShellQuitReason e_shell_quit e_shell_cancel_quit -e_shell_set_startup_view e_shell_migrate_attempt <SUBSECTION Standard> E_SHELL diff --git a/shell/e-shell.c b/shell/e-shell.c index 49786c8517..40a771c06a 100644 --- a/shell/e-shell.c +++ b/shell/e-shell.c @@ -62,8 +62,6 @@ struct _EShellPrivate { gchar *geometry; gchar *module_directory; - gchar *startup_view; - guint inhibit_cookie; gulong backend_died_handler_id; @@ -652,11 +650,6 @@ shell_dispose (GObject *object) priv->backend_died_handler_id = 0; } - if (priv->startup_view != NULL) { - g_free (priv->startup_view); - priv->startup_view = NULL; - } - if (priv->registry != NULL) { g_object_unref (priv->registry); priv->registry = NULL; @@ -1124,8 +1117,6 @@ e_shell_init (EShell *shell) shell->priv->backends_by_scheme = backends_by_scheme; shell->priv->safe_mode = e_file_lock_exists (); - shell->priv->startup_view = NULL; - g_object_ref_sink (shell->priv->preferences_window); /* Add our icon directory to the theme's search path @@ -1782,12 +1773,3 @@ e_shell_cancel_quit (EShell *shell) g_signal_stop_emission (shell, signals[QUIT_REQUESTED], 0); } -void -e_shell_set_startup_view (EShell *shell, - const gchar *view) -{ - g_return_if_fail (E_IS_SHELL (shell)); - - shell->priv->startup_view = g_strdup (view); -} - diff --git a/shell/e-shell.h b/shell/e-shell.h index 34a1a8f6fa..c27bd0e624 100644 --- a/shell/e-shell.h +++ b/shell/e-shell.h @@ -143,9 +143,6 @@ gboolean e_shell_quit (EShell *shell, EShellQuitReason reason); void e_shell_cancel_quit (EShell *shell); -void e_shell_set_startup_view (EShell *shell, - const gchar *view); - G_END_DECLS #endif /* E_SHELL_H */ diff --git a/shell/main.c b/shell/main.c index a8342e1b4a..b070c03b15 100644 --- a/shell/main.c +++ b/shell/main.c @@ -674,9 +674,6 @@ main (gint argc, e_plugin_load_plugins (); } - if (requested_view != NULL) - e_shell_set_startup_view (shell, requested_view); - /* Attempt migration -after- loading all modules and plugins, * as both shell backends and certain plugins hook into this. */ e_shell_migrate_attempt (shell); |