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 | |
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')
-rw-r--r-- | composer/ChangeLog | 5 | ||||
-rw-r--r-- | composer/e-msg-composer-attachment-bar.c | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog index 1d6d1ed1ba..d4c2eac806 100644 --- a/composer/ChangeLog +++ b/composer/ChangeLog @@ -1,3 +1,8 @@ +2003-07-28 Antonio Xu <antonio.xu@sun.com> + + * e-msg-composer-attachment-bar.c (update): add + gdk_pixbuf_loader_close to close pix buffer loading. [#45908] + 2003-07-25 Larry Ewing <lewing@ximian.com> * e-msg-composer.c (GNOME_GTKHTML_EDITOR_CONTROL_ID): require the 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); |