diff options
author | Dan Winship <danw@src.gnome.org> | 2000-04-27 04:40:58 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-04-27 04:40:58 +0800 |
commit | e751baaa7bfe2d7261e4501a8b79816dbaa3b488 (patch) | |
tree | b65882b2f4bdd22cde368be0beedcc3e87a74f30 /camel/camel-medium.c | |
parent | dcccb0484d52262980a48b05178f720f9acfa459 (diff) | |
download | gsoc2013-evolution-e751baaa7bfe2d7261e4501a8b79816dbaa3b488.tar gsoc2013-evolution-e751baaa7bfe2d7261e4501a8b79816dbaa3b488.tar.gz gsoc2013-evolution-e751baaa7bfe2d7261e4501a8b79816dbaa3b488.tar.bz2 gsoc2013-evolution-e751baaa7bfe2d7261e4501a8b79816dbaa3b488.tar.lz gsoc2013-evolution-e751baaa7bfe2d7261e4501a8b79816dbaa3b488.tar.xz gsoc2013-evolution-e751baaa7bfe2d7261e4501a8b79816dbaa3b488.tar.zst gsoc2013-evolution-e751baaa7bfe2d7261e4501a8b79816dbaa3b488.zip |
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
Diffstat (limited to 'camel/camel-medium.c')
-rw-r--r-- | camel/camel-medium.c | 1 |
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; } |