aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-config.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/em-config.c')
-rw-r--r--mail/em-config.c28
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,