diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-09-22 19:24:18 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-09-24 00:03:17 +0800 |
commit | 82010c57ec4bcd2b10346a2ced038f2e0eb38b85 (patch) | |
tree | 690caa8da37fbb3c9d317b65706062a889ff8983 /modules/mdn/evolution-mdn.c | |
parent | bfc448800cea06fb2b7c4fa26cda4e01ffd7a354 (diff) | |
download | gsoc2013-evolution-82010c57ec4bcd2b10346a2ced038f2e0eb38b85.tar gsoc2013-evolution-82010c57ec4bcd2b10346a2ced038f2e0eb38b85.tar.gz gsoc2013-evolution-82010c57ec4bcd2b10346a2ced038f2e0eb38b85.tar.bz2 gsoc2013-evolution-82010c57ec4bcd2b10346a2ced038f2e0eb38b85.tar.lz gsoc2013-evolution-82010c57ec4bcd2b10346a2ced038f2e0eb38b85.tar.xz gsoc2013-evolution-82010c57ec4bcd2b10346a2ced038f2e0eb38b85.tar.zst gsoc2013-evolution-82010c57ec4bcd2b10346a2ced038f2e0eb38b85.zip |
Adapt to Camel API changes.
Diffstat (limited to 'modules/mdn/evolution-mdn.c')
-rw-r--r-- | modules/mdn/evolution-mdn.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/modules/mdn/evolution-mdn.c b/modules/mdn/evolution-mdn.c index a3d14b7258..225406438b 100644 --- a/modules/mdn/evolution-mdn.c +++ b/modules/mdn/evolution-mdn.c @@ -82,8 +82,7 @@ static void mdn_context_free (MdnContext *context) { if (context->info != NULL) - camel_folder_free_message_info ( - context->folder, context->info); + camel_message_info_unref (context->info); g_object_unref (context->source); g_object_unref (context->reader); @@ -423,7 +422,7 @@ mdn_notify_sender (ESource *identity_source, NULL, (GAsyncReadyCallback) mdn_receipt_done, g_object_ref (session)); - camel_message_info_free (receipt_info); + camel_message_info_unref (receipt_info); } static void @@ -441,7 +440,7 @@ mdn_notify_action_cb (GtkAction *action, MDN_SENDING_MODE_MANUAL); /* Make sure the newly-added user flag gets saved. */ - camel_folder_free_message_info (context->folder, context->info); + camel_message_info_unref (context->info); context->info = NULL; } @@ -568,7 +567,7 @@ mdn_message_loaded_cb (EMailReader *reader, exit: if (info != NULL) - camel_folder_free_message_info (folder, info); + camel_message_info_unref (info); g_clear_object (&folder); g_free (notify_to); @@ -628,7 +627,7 @@ mdn_message_seen_cb (EMailReader *reader, exit: if (info != NULL) - camel_folder_free_message_info (folder, info); + camel_message_info_unref (info); g_clear_object (&folder); g_free (notify_to); |