diff options
author | Antonio Xu <antonio.xu@sun.com> | 2003-07-29 19:08:47 +0800 |
---|---|---|
committer | Antonio Xu <anto@src.gnome.org> | 2003-07-29 19:08:47 +0800 |
commit | c97141a4c88581675369dfbb4b4f9506130a1e72 (patch) | |
tree | 2e47ac516c17656bee2eab06d3c0759d06123acc /composer/e-msg-composer-attachment-bar.c | |
parent | 3b87df76e4ea4787df6463bf7a001c9ad16e984f (diff) | |
download | gsoc2013-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.c | 4 |
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); |