diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-04-04 04:55:23 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-04-04 11:06:39 +0800 |
commit | a8feedf3901a6db06e810f0dfd6ef370b23a2718 (patch) | |
tree | 7037c865bae26f0abcf71500cedb62db130a12d5 /plugins/pst-import/pst-importer.c | |
parent | 26240e0b180bdaf92702e513a21da2f859883fb3 (diff) | |
download | gsoc2013-evolution-a8feedf3901a6db06e810f0dfd6ef370b23a2718.tar.gz gsoc2013-evolution-a8feedf3901a6db06e810f0dfd6ef370b23a2718.tar.zst gsoc2013-evolution-a8feedf3901a6db06e810f0dfd6ef370b23a2718.zip |
Adapt to Camel API changes.
Diffstat (limited to 'plugins/pst-import/pst-importer.c')
-rw-r--r-- | plugins/pst-import/pst-importer.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/pst-import/pst-importer.c b/plugins/pst-import/pst-importer.c index 9def7b9fc4..96b0e68889 100644 --- a/plugins/pst-import/pst-importer.c +++ b/plugins/pst-import/pst-importer.c @@ -459,24 +459,24 @@ pst_import_file (PstImporter *m) g_free (filename); - camel_operation_progress_count (NULL, 1); + camel_operation_progress (NULL, 1); if ((item = pst_parse_item (&m->pst, m->pst.d_head, NULL)) == NULL) { pst_error_msg ("Could not get root record"); return; } - camel_operation_progress_count (NULL, 2); + camel_operation_progress (NULL, 2); if ((d_ptr = pst_getTopOfFolders (&m->pst, item)) == NULL) { pst_error_msg ("Top of folders record not found. Cannot continue"); return; } - camel_operation_progress_count (NULL, 3); + camel_operation_progress (NULL, 3); pst_import_folders (m, d_ptr); - camel_operation_progress_count (NULL, 4); + camel_operation_progress (NULL, 4); camel_operation_end (NULL); @@ -888,7 +888,7 @@ pst_process_email (PstImporter *m, pst_item *item) /*camel_mime_message_dump (msg, TRUE);*/ if (item->email->htmlbody.str || item->attach) { - camel_medium_set_content_object (CAMEL_MEDIUM (msg), CAMEL_DATA_WRAPPER (mp)); + camel_medium_set_content (CAMEL_MEDIUM (msg), CAMEL_DATA_WRAPPER (mp)); } else if (item->body.str) { camel_mime_part_set_content (CAMEL_MIME_PART (msg), item->body.str, strlen (item->body.str), "text/plain"); } else { @@ -1231,7 +1231,7 @@ set_cal_attachments (ECal *cal, ECalComponent *ec, PstImporter *m, pst_item_atta continue; } - content = camel_medium_get_content_object (CAMEL_MEDIUM (part)); + content = camel_medium_get_content (CAMEL_MEDIUM (part)); if (camel_data_wrapper_decode_to_stream (content, stream) == -1 || camel_stream_flush (stream) == -1) |