From f9ffe647231a7ba2bd5347d92d560b6a57fee786 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 15 May 2013 09:17:58 -0400 Subject: 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. --- mail/e-mail-request.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mail/e-mail-request.c') diff --git a/mail/e-mail-request.c b/mail/e-mail-request.c index b4ecfce501..892065c8d2 100644 --- a/mail/e-mail-request.c +++ b/mail/e-mail-request.c @@ -169,7 +169,7 @@ handle_mail_request (GSimpleAsyncResult *res, mime_type, cancellable); } - e_mail_part_unref (part); + g_object_unref (part); } else { g_warning ("Failed to lookup requested part '%s' - this should not happen!", part_id); } -- cgit