aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-config.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-05-13 01:21:54 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-05-13 01:21:54 +0800
commite263f69b469fc0627e10d1a5499aaacdb6ba4bbe (patch)
tree4315af2a5c54717bae0900c2486d7d7355c7993b /mail/em-config.c
parent45ecbcc593a41e03542150fe4de984a1e9652dae (diff)
downloadgsoc2013-evolution-e263f69b469fc0627e10d1a5499aaacdb6ba4bbe.tar.gz
gsoc2013-evolution-e263f69b469fc0627e10d1a5499aaacdb6ba4bbe.tar.zst
gsoc2013-evolution-e263f69b469fc0627e10d1a5499aaacdb6ba4bbe.zip
EMConfigTargetFolder: Remove URI member.
Use e_mail_folder_uri_from_folder() if you really need a folder URI for the target's CamelFolder.
Diffstat (limited to 'mail/em-config.c')
-rw-r--r--mail/em-config.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/mail/em-config.c b/mail/em-config.c
index a5ddb7a702..bad3d92c47 100644
--- a/mail/em-config.c
+++ b/mail/em-config.c
@@ -118,7 +118,6 @@ em_config_target_free (EConfig *ep,
case EM_CONFIG_TARGET_FOLDER: {
EMConfigTargetFolder *s = (EMConfigTargetFolder *) t;
- g_free (s->uri);
g_object_unref (s->folder);
break; }
case EM_CONFIG_TARGET_PREFS: {
@@ -175,15 +174,13 @@ em_config_new (gint type,
EMConfigTargetFolder *
em_config_target_new_folder (EMConfig *emp,
- CamelFolder *folder,
- const gchar *uri)
+ CamelFolder *folder)
{
EMConfigTargetFolder *t;
t = e_config_target_new (
&emp->config, EM_CONFIG_TARGET_FOLDER, sizeof (*t));
- t->uri = g_strdup (uri);
t->folder = g_object_ref (folder);
return t;