aboutsummaryrefslogtreecommitdiffstats
path: root/composer
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
parent3b87df76e4ea4787df6463bf7a001c9ad16e984f (diff)
downloadgsoc2013-evolution-c97141a4c88581675369dfbb4b4f9506130a1e72.tar
gsoc2013-evolution-c97141a4c88581675369dfbb4b4f9506130a1e72.tar.gz
gsoc2013-evolution-c97141a4c88581675369dfbb4b4f9506130a1e72.tar.bz2
gsoc2013-evolution-c97141a4c88581675369dfbb4b4f9506130a1e72.tar.lz
gsoc2013-evolution-c97141a4c88581675369dfbb4b4f9506130a1e72.tar.xz
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/ChangeLog5
-rw-r--r--composer/e-msg-composer-attachment-bar.c4
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);