From 9d6c76ce37be81f83d3df0cf2bfc8d81adfa18e8 Mon Sep 17 00:00:00 2001 From: Iain Holmes Date: Sun, 1 Oct 2000 03:43:17 +0000 Subject: The big eye-candy commit. Make thumbnails out of image attachments. svn path=/trunk/; revision=5648 --- composer/e-msg-composer-attachment.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'composer/e-msg-composer-attachment.c') diff --git a/composer/e-msg-composer-attachment.c b/composer/e-msg-composer-attachment.c index c607b59068..7d1e61a883 100644 --- a/composer/e-msg-composer-attachment.c +++ b/composer/e-msg-composer-attachment.c @@ -84,6 +84,8 @@ destroy (GtkObject *object) attachment = E_MSG_COMPOSER_ATTACHMENT (object); camel_object_unref (CAMEL_OBJECT (attachment->body)); + if (attachment->pixbuf_cache != NULL) + gdk_pixbuf_unref (attachment->pixbuf_cache); } @@ -129,6 +131,7 @@ init (EMsgComposerAttachment *msg_composer_attachment) msg_composer_attachment->editor_gui = NULL; msg_composer_attachment->body = NULL; msg_composer_attachment->size = 0; + msg_composer_attachment->pixbuf_cache = NULL; } GtkType -- cgit v1.2.3