diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-11-25 01:29:35 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-11-25 01:29:35 +0800 |
commit | ad1581d50cdab9c56cdad61331f760a23f81b9de (patch) | |
tree | c914508708e6971a76598702ba96ed2e48df6af5 /shell/e-shell.c | |
parent | 8fa08de8892b288a0fcc48a21375553f994f975e (diff) | |
download | gsoc2013-evolution-ad1581d50cdab9c56cdad61331f760a23f81b9de.tar gsoc2013-evolution-ad1581d50cdab9c56cdad61331f760a23f81b9de.tar.gz gsoc2013-evolution-ad1581d50cdab9c56cdad61331f760a23f81b9de.tar.bz2 gsoc2013-evolution-ad1581d50cdab9c56cdad61331f760a23f81b9de.tar.lz gsoc2013-evolution-ad1581d50cdab9c56cdad61331f760a23f81b9de.tar.xz gsoc2013-evolution-ad1581d50cdab9c56cdad61331f760a23f81b9de.tar.zst gsoc2013-evolution-ad1581d50cdab9c56cdad61331f760a23f81b9de.zip |
Remove e_shell_get_gconf_client().
No longer needed.
Diffstat (limited to 'shell/e-shell.c')
-rw-r--r-- | shell/e-shell.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/shell/e-shell.c b/shell/e-shell.c index cc1591337f..82b62424fb 100644 --- a/shell/e-shell.c +++ b/shell/e-shell.c @@ -53,7 +53,6 @@ struct _EShellPrivate { GQueue alerts; EShellSettings *settings; - GConfClient *gconf_client; GActionGroup *action_group; GtkWidget *preferences_window; @@ -721,11 +720,6 @@ shell_dispose (GObject *object) priv->settings = NULL; } - if (priv->gconf_client != NULL) { - g_object_unref (priv->gconf_client); - priv->gconf_client = NULL; - } - if (priv->action_group != NULL) { g_object_unref (priv->action_group); priv->action_group = NULL; @@ -1174,7 +1168,6 @@ e_shell_init (EShell *shell) g_queue_init (&shell->priv->alerts); shell->priv->settings = g_object_new (E_TYPE_SHELL_SETTINGS, NULL); - shell->priv->gconf_client = gconf_client_get_default (); shell->priv->preferences_window = e_preferences_window_new (shell); shell->priv->backends_by_name = backends_by_name; shell->priv->backends_by_scheme = backends_by_scheme; @@ -1390,23 +1383,6 @@ e_shell_get_shell_settings (EShell *shell) } /** - * e_shell_get_gconf_client: - * @shell: an #EShell - * - * Returns the default #GConfClient. This function is purely for - * convenience. The @shell owns the reference so you don't have to. - * - * Returns: the default #GConfClient - **/ -GConfClient * -e_shell_get_gconf_client (EShell *shell) -{ - g_return_val_if_fail (E_IS_SHELL (shell), NULL); - - return shell->priv->gconf_client; -} - -/** * e_shell_create_shell_window: * @shell: an #EShell * @view_name: name of the initial shell view, or %NULL |