diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-03-31 21:34:28 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-04-01 00:10:54 +0800 |
commit | 7c63fc5f31fccb5fa901997d207d4283a27e5eee (patch) | |
tree | 0339be63f6ed39b8ff08c4840fd8729267901c79 /shell | |
parent | 7c38b34f2073ce895957a87da3113f19d62da86d (diff) | |
download | gsoc2013-evolution-7c63fc5f31fccb5fa901997d207d4283a27e5eee.tar gsoc2013-evolution-7c63fc5f31fccb5fa901997d207d4283a27e5eee.tar.gz gsoc2013-evolution-7c63fc5f31fccb5fa901997d207d4283a27e5eee.tar.bz2 gsoc2013-evolution-7c63fc5f31fccb5fa901997d207d4283a27e5eee.tar.lz gsoc2013-evolution-7c63fc5f31fccb5fa901997d207d4283a27e5eee.tar.xz gsoc2013-evolution-7c63fc5f31fccb5fa901997d207d4283a27e5eee.tar.zst gsoc2013-evolution-7c63fc5f31fccb5fa901997d207d4283a27e5eee.zip |
Remove e_shell_set_startup_view().
No longer needed.
Diffstat (limited to 'shell')
-rw-r--r-- | shell/e-shell.c | 18 | ||||
-rw-r--r-- | shell/e-shell.h | 3 | ||||
-rw-r--r-- | shell/main.c | 3 |
3 files changed, 0 insertions, 24 deletions
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); |