aboutsummaryrefslogtreecommitdiffstats
path: root/em-format/e-mail-part-list.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-05-17 01:10:26 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-05-20 01:07:20 +0800
commitc025ffbb296501d2da8cba78aa6a14008055cf87 (patch)
tree1ef1bb4d02d699fc67e731e54bb1017852be4d83 /em-format/e-mail-part-list.c
parentcd5a55f9812643109be6c2b0ed5d8f8ce655a4a9 (diff)
downloadgsoc2013-evolution-c025ffbb296501d2da8cba78aa6a14008055cf87.tar.gz
gsoc2013-evolution-c025ffbb296501d2da8cba78aa6a14008055cf87.tar.zst
gsoc2013-evolution-c025ffbb296501d2da8cba78aa6a14008055cf87.zip
Add e_mail_part_get_id().
Diffstat (limited to 'em-format/e-mail-part-list.c')
-rw-r--r--em-format/e-mail-part-list.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/em-format/e-mail-part-list.c b/em-format/e-mail-part-list.c
index e6ccc5733b..c3ace21fa7 100644
--- a/em-format/e-mail-part-list.c
+++ b/em-format/e-mail-part-list.c
@@ -324,7 +324,7 @@ e_mail_part_list_ref_part (EMailPartList *part_list,
if (by_cid)
candidate_id = candidate->cid;
else
- candidate_id = candidate->id;
+ candidate_id = e_mail_part_get_id (candidate);
if (g_strcmp0 (candidate_id, part_id) == 0) {
match = e_mail_part_ref (candidate);
@@ -372,7 +372,7 @@ e_mail_part_list_queue_parts (EMailPartList *part_list,
EMailPart *candidate = E_MAIL_PART (link->data);
const gchar *candidate_id;
- candidate_id = candidate->id;
+ candidate_id = e_mail_part_get_id (candidate);
if (g_strcmp0 (candidate_id, part_id) == 0)
break;