aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-medium.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-medium.c')
-rw-r--r--camel/camel-medium.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/camel/camel-medium.c b/camel/camel-medium.c
index fca8117630..7a2ed1a6c8 100644
--- a/camel/camel-medium.c
+++ b/camel/camel-medium.c
@@ -255,6 +255,7 @@ set_content_object (CamelMedium *medium, CamelDataWrapper *content)
if (medium->content)
gtk_object_unref (GTK_OBJECT (medium->content));
gtk_object_ref (GTK_OBJECT (content));
+ gtk_object_sink (GTK_OBJECT (content));
medium->content = content;
}