From e751baaa7bfe2d7261e4501a8b79816dbaa3b488 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Wed, 26 Apr 2000 20:40:58 +0000 Subject: sink the content object after referencing it. * camel-medium.c (set_content_object): sink the content object after referencing it. * camel-mime-part.c: fix various little things in the handling of CamelMedium methods. Change camel_mime_part_set_text to the more generic camel_mime_part_set_content. svn path=/trunk/; revision=2643 --- camel/camel-medium.c | 1 + 1 file changed, 1 insertion(+) (limited to 'camel/camel-medium.c') 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; } -- cgit