diff options
Diffstat (limited to 'camel/camel-medium.c')
-rw-r--r-- | camel/camel-medium.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/camel/camel-medium.c b/camel/camel-medium.c index b3964f29e3..6a89682a2c 100644 --- a/camel/camel-medium.c +++ b/camel/camel-medium.c @@ -91,7 +91,7 @@ camel_medium_finalize (CamelObject *object) CamelMedium *medium = CAMEL_MEDIUM (object); if (medium->content) - camel_object_unref (CAMEL_OBJECT (medium->content)); + camel_object_unref (medium->content); } @@ -309,8 +309,8 @@ static void set_content_object (CamelMedium *medium, CamelDataWrapper *content) { if (medium->content) - camel_object_unref (CAMEL_OBJECT (medium->content)); - camel_object_ref (CAMEL_OBJECT (content)); + camel_object_unref (medium->content); + camel_object_ref (content); medium->content = content; } |