aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-properties.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-folder-properties.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-folder-properties.c')
-rw-r--r--mail/em-folder-properties.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/mail/em-folder-properties.c b/mail/em-folder-properties.c
index e8137a535b..abc1e21563 100644
--- a/mail/em-folder-properties.c
+++ b/mail/em-folder-properties.c
@@ -249,7 +249,6 @@ emfp_dialog_run (AsyncContext *context)
CamelStore *parent_store;
gboolean hide_deleted;
GConfClient *client;
- gchar *folder_uri;
const gchar *name;
const gchar *key;
@@ -334,9 +333,7 @@ emfp_dialog_run (AsyncContext *context)
l = g_slist_prepend (l, &emfp_items[i]);
e_config_add_items ((EConfig *) ec, l, NULL, NULL, emfp_free, context);
- folder_uri = e_mail_folder_uri_from_folder (context->folder);
- target = em_config_target_new_folder (ec, context->folder, folder_uri);
- g_free (folder_uri);
+ target = em_config_target_new_folder (ec, context->folder);
e_config_set_target ((EConfig *) ec, (EConfigTarget *) target);
w = e_config_create_widget ((EConfig *) ec);