diff options
Diffstat (limited to 'mail/em-config.c')
-rw-r--r-- | mail/em-config.c | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/mail/em-config.c b/mail/em-config.c index ca8e117d7e..1e025323f4 100644 --- a/mail/em-config.c +++ b/mail/em-config.c @@ -33,9 +33,6 @@ #include "em-utils.h" #include "em-composer-utils.h" -#include <gconf/gconf.h> -#include <gconf/gconf-client.h> - #include <e-util/e-util.h> G_DEFINE_TYPE (EMConfig, em_config, E_TYPE_CONFIG) @@ -52,6 +49,9 @@ 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; @@ -75,6 +75,8 @@ 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; @@ -90,6 +92,9 @@ em_config_target_free (EConfig *ep, g_object_unref (s->folder); break; } + case EM_CONFIG_TARGET_PREFS: { + /* EMConfigTargetPrefs *s = (EMConfigTargetPrefs *) t; */ + break; } case EM_CONFIG_TARGET_SETTINGS: { EMConfigTargetSettings *s = (EMConfigTargetSettings *) t; @@ -146,6 +151,17 @@ em_config_target_new_folder (EMConfig *emp, return t; } +EMConfigTargetPrefs * +em_config_target_new_prefs (EMConfig *emp) +{ + EMConfigTargetPrefs *t; + + t = e_config_target_new ( + &emp->config, EM_CONFIG_TARGET_PREFS, sizeof (*t)); + + return t; +} + EMConfigTargetSettings * em_config_target_new_settings (EMConfig *emp, const gchar *email_address, |