diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-05-06 04:42:45 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-05-06 04:42:45 +0800 |
commit | c84997a37e3a03b7cda17ebbb2b4c0e0ad0db432 (patch) | |
tree | c2db799cae9b2ce0e2139fd4690799d62a4d50dc | |
parent | a84705e2990ebc65b16808fa3e4d67cc0811d91e (diff) | |
download | gsoc2013-evolution-c84997a37e3a03b7cda17ebbb2b4c0e0ad0db432.tar gsoc2013-evolution-c84997a37e3a03b7cda17ebbb2b4c0e0ad0db432.tar.gz gsoc2013-evolution-c84997a37e3a03b7cda17ebbb2b4c0e0ad0db432.tar.bz2 gsoc2013-evolution-c84997a37e3a03b7cda17ebbb2b4c0e0ad0db432.tar.lz gsoc2013-evolution-c84997a37e3a03b7cda17ebbb2b4c0e0ad0db432.tar.xz gsoc2013-evolution-c84997a37e3a03b7cda17ebbb2b4c0e0ad0db432.tar.zst gsoc2013-evolution-c84997a37e3a03b7cda17ebbb2b4c0e0ad0db432.zip |
Simplify em_vfolder_rule_from_message().
-rw-r--r-- | mail/mail-autofilter.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/mail/mail-autofilter.c b/mail/mail-autofilter.c index 7c6a5c1b44..619002de03 100644 --- a/mail/mail-autofilter.c +++ b/mail/mail-autofilter.c @@ -317,19 +317,17 @@ em_vfolder_rule_from_message (EMVFolderContext *context, { EFilterRule *rule; EMailSession *session; - gchar *uri, *euri; + gchar *uri; uri = e_mail_folder_uri_from_folder (folder); - euri = em_uri_from_camel (uri); session = em_vfolder_context_get_session (context); rule = em_vfolder_rule_new (session); - em_vfolder_rule_add_source (EM_VFOLDER_RULE (rule), euri); + em_vfolder_rule_add_source (EM_VFOLDER_RULE (rule), uri); rule_from_message (rule, E_RULE_CONTEXT (context), msg, flags); g_free (uri); - g_free (euri); return rule; } |