diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-11-28 10:23:55 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-11-28 10:28:53 +0800 |
commit | dff45d6cd8a6d631bf4126e8a484c6b6c62b9a9a (patch) | |
tree | 2f2b2e0371575ef69a03afab1173689616968d94 /mail/em-config.c | |
parent | a7699bb29f5ca0c09d68cbad65cd65bedf1307c5 (diff) | |
download | gsoc2013-evolution-dff45d6cd8a6d631bf4126e8a484c6b6c62b9a9a.tar.gz gsoc2013-evolution-dff45d6cd8a6d631bf4126e8a484c6b6c62b9a9a.tar.zst gsoc2013-evolution-dff45d6cd8a6d631bf4126e8a484c6b6c62b9a9a.zip |
Remove some unnecessary GConf crud.
Diffstat (limited to 'mail/em-config.c')
-rw-r--r-- | mail/em-config.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/mail/em-config.c b/mail/em-config.c index 352e16b4b1..ca8e117d7e 100644 --- a/mail/em-config.c +++ b/mail/em-config.c @@ -52,9 +52,6 @@ em_config_set_target (EConfig *ep, case EM_CONFIG_TARGET_FOLDER: { /*EMConfigTargetFolder *s = (EMConfigTargetFolder *)t;*/ break; } - case EM_CONFIG_TARGET_PREFS: { - /*EMConfigTargetPrefs *s = (EMConfigTargetPrefs *)t;*/ - break; } case EM_CONFIG_TARGET_SETTINGS: { EMConfigTargetSettings *s = (EMConfigTargetSettings *) t; @@ -78,8 +75,6 @@ em_config_target_free (EConfig *ep, switch (t->type) { case EM_CONFIG_TARGET_FOLDER: break; - case EM_CONFIG_TARGET_PREFS: - break; case EM_CONFIG_TARGET_SETTINGS: { EMConfigTargetSettings *s = (EMConfigTargetSettings *) t; @@ -95,12 +90,6 @@ em_config_target_free (EConfig *ep, g_object_unref (s->folder); break; } - case EM_CONFIG_TARGET_PREFS: { - EMConfigTargetPrefs *s = (EMConfigTargetPrefs *) t; - - if (s->gconf) - g_object_unref (s->gconf); - break; } case EM_CONFIG_TARGET_SETTINGS: { EMConfigTargetSettings *s = (EMConfigTargetSettings *) t; @@ -157,23 +146,6 @@ em_config_target_new_folder (EMConfig *emp, return t; } -EMConfigTargetPrefs * -em_config_target_new_prefs (EMConfig *emp, - GConfClient *gconf) -{ - EMConfigTargetPrefs *t; - - t = e_config_target_new ( - &emp->config, EM_CONFIG_TARGET_PREFS, sizeof (*t)); - - if (GCONF_IS_CLIENT (gconf)) - t->gconf = g_object_ref (gconf); - else - t->gconf = NULL; - - return t; -} - EMConfigTargetSettings * em_config_target_new_settings (EMConfig *emp, const gchar *email_address, |