diff options
author | Iain Holmes <iain@src.gnome.org> | 2000-10-01 11:43:17 +0800 |
---|---|---|
committer | Iain Holmes <iain@src.gnome.org> | 2000-10-01 11:43:17 +0800 |
commit | 9d6c76ce37be81f83d3df0cf2bfc8d81adfa18e8 (patch) | |
tree | 06d938871ce13b0fbc66a5396c89d9aa46490b6d /composer/e-msg-composer-attachment.c | |
parent | 711bef6798d08dcb34bc83730f11575ffa411d07 (diff) | |
download | gsoc2013-evolution-9d6c76ce37be81f83d3df0cf2bfc8d81adfa18e8.tar gsoc2013-evolution-9d6c76ce37be81f83d3df0cf2bfc8d81adfa18e8.tar.gz gsoc2013-evolution-9d6c76ce37be81f83d3df0cf2bfc8d81adfa18e8.tar.bz2 gsoc2013-evolution-9d6c76ce37be81f83d3df0cf2bfc8d81adfa18e8.tar.lz gsoc2013-evolution-9d6c76ce37be81f83d3df0cf2bfc8d81adfa18e8.tar.xz gsoc2013-evolution-9d6c76ce37be81f83d3df0cf2bfc8d81adfa18e8.tar.zst gsoc2013-evolution-9d6c76ce37be81f83d3df0cf2bfc8d81adfa18e8.zip |
The big eye-candy commit.
Make thumbnails out of image attachments.
svn path=/trunk/; revision=5648
Diffstat (limited to 'composer/e-msg-composer-attachment.c')
-rw-r--r-- | composer/e-msg-composer-attachment.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 |