diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-04-23 22:28:53 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-04-24 23:05:27 +0800 |
commit | bc90469e7f3bfd31dc6530c2d1ba1cc519a8a3a7 (patch) | |
tree | f5d0cc91fc1568431e0b457406a9b3ea21157e0e /mail/importers | |
parent | f862e946b83d5f70001c3d81290ecc8a0d8ca2a0 (diff) | |
download | gsoc2013-evolution-bc90469e7f3bfd31dc6530c2d1ba1cc519a8a3a7.tar.gz gsoc2013-evolution-bc90469e7f3bfd31dc6530c2d1ba1cc519a8a3a7.tar.zst gsoc2013-evolution-bc90469e7f3bfd31dc6530c2d1ba1cc519a8a3a7.zip |
Camel is now GObject-based.
Diffstat (limited to 'mail/importers')
-rw-r--r-- | mail/importers/mail-importer.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mail/importers/mail-importer.c b/mail/importers/mail-importer.c index 2f2a7f5494..72a975f2cc 100644 --- a/mail/importers/mail-importer.c +++ b/mail/importers/mail-importer.c @@ -160,7 +160,7 @@ import_mbox_exec (struct _import_mbox_msg *m) msg = camel_mime_message_new(); if (camel_mime_part_construct_from_parser((CamelMimePart *)msg, mp) == -1) { /* set exception? */ - camel_object_unref(msg); + g_object_unref (msg); break; } @@ -179,7 +179,7 @@ import_mbox_exec (struct _import_mbox_msg *m) camel_message_info_set_flags(info, flags, ~0); camel_folder_append_message(folder, msg, info, NULL, &m->base.ex); camel_message_info_free(info); - camel_object_unref(msg); + g_object_unref (msg); if (camel_exception_is_set(&m->base.ex)) break; @@ -193,11 +193,11 @@ import_mbox_exec (struct _import_mbox_msg *m) if (m->cancel) camel_operation_register(oldcancel); fail2: - camel_object_unref(mp); + g_object_unref (mp); } fail1: camel_folder_sync(folder, FALSE, NULL); - camel_object_unref(folder); + g_object_unref (folder); } static void |