aboutsummaryrefslogtreecommitdiffstats
path: root/em-format/e-mail-formatter-message-rfc822.c
diff options
context:
space:
mode:
Diffstat (limited to 'em-format/e-mail-formatter-message-rfc822.c')
-rw-r--r--em-format/e-mail-formatter-message-rfc822.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/em-format/e-mail-formatter-message-rfc822.c b/em-format/e-mail-formatter-message-rfc822.c
index 01b67c64da..0477e61517 100644
--- a/em-format/e-mail-formatter-message-rfc822.c
+++ b/em-format/e-mail-formatter-message-rfc822.c
@@ -77,7 +77,7 @@ emfe_message_rfc822_format (EMailFormatterExtension *extension,
/* Discard the first EMailPart. */
if (!g_queue_is_empty (&queue))
- e_mail_part_unref (g_queue_pop_head (&queue));
+ g_object_unref (g_queue_pop_head (&queue));
head = g_queue_peek_head_link (&queue);
@@ -119,7 +119,7 @@ emfe_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));
context->mode = E_MAIL_FORMATTER_MODE_RAW;
@@ -136,14 +136,14 @@ emfe_message_rfc822_format (EMailFormatterExtension *extension,
/* Discard the first EMailPart. */
if (!g_queue_is_empty (&queue))
- e_mail_part_unref (g_queue_pop_head (&queue));
+ g_object_unref (g_queue_pop_head (&queue));
if (g_queue_is_empty (&queue))
return FALSE;
part = g_queue_pop_head (&queue);
end = g_strconcat (part_id, ".end", NULL);
- e_mail_part_unref (part);
+ g_object_unref (part);
head = g_queue_peek_head_link (&queue);
@@ -187,7 +187,7 @@ emfe_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));
} else {
EMailPart *p;
@@ -240,7 +240,7 @@ emfe_message_rfc822_format (EMailFormatterExtension *extension,
g_free (str);
g_free (uri);
- e_mail_part_unref (p);
+ g_object_unref (p);
}
return TRUE;