aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer-attachment-bar.c
diff options
context:
space:
mode:
authorAntonio Xu <antonio.xu@sun.com>2003-07-29 19:08:47 +0800
committerAntonio Xu <anto@src.gnome.org>2003-07-29 19:08:47 +0800
commitc97141a4c88581675369dfbb4b4f9506130a1e72 (patch)
tree2e47ac516c17656bee2eab06d3c0759d06123acc /composer/e-msg-composer-attachment-bar.c
parent3b87df76e4ea4787df6463bf7a001c9ad16e984f (diff)
downloadgsoc2013-evolution-c97141a4c88581675369dfbb4b4f9506130a1e72.tar.gz
gsoc2013-evolution-c97141a4c88581675369dfbb4b4f9506130a1e72.tar.zst
gsoc2013-evolution-c97141a4c88581675369dfbb4b4f9506130a1e72.zip
add gdk_pixbuf_loader_close to close pix buffer loading. [#45908]
2003-07-29 Antonio Xu <antonio.xu@sun.com> * e-msg-composer-attachment-bar.c (update): add gdk_pixbuf_loader_close to close pix buffer loading. [#45908] svn path=/trunk/; revision=22008
Diffstat (limited to 'composer/e-msg-composer-attachment-bar.c')
-rw-r--r--composer/e-msg-composer-attachment-bar.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/composer/e-msg-composer-attachment-bar.c b/composer/e-msg-composer-attachment-bar.c
index b1e714ca7e..c6e9e7bcee 100644
--- a/composer/e-msg-composer-attachment-bar.c
+++ b/composer/e-msg-composer-attachment-bar.c
@@ -268,7 +268,9 @@ update (EMsgComposerAttachmentBar *bar)
if (!error) {
int ratio, width, height;
-
+
+ gdk_pixbuf_loader_close (loader, NULL);
+
/* Shrink pixbuf */
pixbuf = gdk_pixbuf_loader_get_pixbuf (loader);
width = gdk_pixbuf_get_width (pixbuf);