diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-05-15 21:17:58 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-05-20 01:07:22 +0800 |
commit | f9ffe647231a7ba2bd5347d92d560b6a57fee786 (patch) | |
tree | 6c1245d91a399647fc25521bc1f38cf564210979 /em-format/e-mail-formatter-quote-message-rfc822.c | |
parent | 0b4e7ec091c8bbe65dc2f2afd7da78b04da7c274 (diff) | |
download | gsoc2013-evolution-f9ffe647231a7ba2bd5347d92d560b6a57fee786.tar gsoc2013-evolution-f9ffe647231a7ba2bd5347d92d560b6a57fee786.tar.gz gsoc2013-evolution-f9ffe647231a7ba2bd5347d92d560b6a57fee786.tar.bz2 gsoc2013-evolution-f9ffe647231a7ba2bd5347d92d560b6a57fee786.tar.lz gsoc2013-evolution-f9ffe647231a7ba2bd5347d92d560b6a57fee786.tar.xz gsoc2013-evolution-f9ffe647231a7ba2bd5347d92d560b6a57fee786.tar.zst gsoc2013-evolution-f9ffe647231a7ba2bd5347d92d560b6a57fee786.zip |
Convert EMailPart to a GObject.
EMailPart is reference-counted, subclassed, and allows a custom
finalize function. There's no excuse for it not to use GObject.
Diffstat (limited to 'em-format/e-mail-formatter-quote-message-rfc822.c')
-rw-r--r-- | em-format/e-mail-formatter-quote-message-rfc822.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/em-format/e-mail-formatter-quote-message-rfc822.c b/em-format/e-mail-formatter-quote-message-rfc822.c index ae1d3a4e54..15a9056062 100644 --- a/em-format/e-mail-formatter-quote-message-rfc822.c +++ b/em-format/e-mail-formatter-quote-message-rfc822.c @@ -76,7 +76,7 @@ emfqe_message_rfc822_format (EMailFormatterExtension *extension, return FALSE; /* Discard the first EMailPart. */ - e_mail_part_unref (g_queue_pop_head (&queue)); + g_object_unref (g_queue_pop_head (&queue)); head = g_queue_peek_head (&queue); @@ -133,7 +133,7 @@ emfqe_message_rfc822_format (EMailFormatterExtension *extension, g_free (end); while (!g_queue_is_empty (&queue)) - e_mail_part_unref (g_queue_pop_head (&queue)); + g_object_unref (g_queue_pop_head (&queue)); camel_stream_write_string (stream, "</body></html>", cancellable, NULL); |