aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorHiroyuki Ikezoe <poincare@ikezoe.net>2006-06-14 19:51:46 +0800
committerAndre Klapper <aklapper@src.gnome.org>2006-06-14 19:51:46 +0800
commitdf3a4f7620e1524a1405bf1d2b4727f42f37078e (patch)
tree71b42067a5c17e18b567310621c511d0d6d61857 /addressbook
parent835fccaf66254c229bf4a7bf5985f944b3b3741c (diff)
downloadgsoc2013-evolution-df3a4f7620e1524a1405bf1d2b4727f42f37078e.tar
gsoc2013-evolution-df3a4f7620e1524a1405bf1d2b4727f42f37078e.tar.gz
gsoc2013-evolution-df3a4f7620e1524a1405bf1d2b4727f42f37078e.tar.bz2
gsoc2013-evolution-df3a4f7620e1524a1405bf1d2b4727f42f37078e.tar.lz
gsoc2013-evolution-df3a4f7620e1524a1405bf1d2b4727f42f37078e.tar.xz
gsoc2013-evolution-df3a4f7620e1524a1405bf1d2b4727f42f37078e.tar.zst
gsoc2013-evolution-df3a4f7620e1524a1405bf1d2b4727f42f37078e.zip
** Fixes bug #344227 gdk_pixbuf_loader_close should be called before
2006-06-14 Hiroyuki Ikezoe <poincare@ikezoe.net> ** Fixes bug #344227 * gui/widgets/eab-contact-display.c: (eab_contact_display_render_compact): gdk_pixbuf_loader_close should be called before gdk_pixbuf_loader_get_pixbuf. svn path=/trunk/; revision=32140
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog7
-rw-r--r--addressbook/gui/widgets/eab-contact-display.c4
2 files changed, 9 insertions, 2 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index e1e1498e8e..235a44ca36 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,10 @@
+2006-06-14 Hiroyuki Ikezoe <poincare@ikezoe.net>
+
+ ** Fixes bug #344227
+ * gui/widgets/eab-contact-display.c:
+ (eab_contact_display_render_compact): gdk_pixbuf_loader_close should
+ be called before gdk_pixbuf_loader_get_pixbuf.
+
2006-06-13 Hiroyuki Ikezoe <poincare@ikezoe.net>
** Fixes bug #342646
diff --git a/addressbook/gui/widgets/eab-contact-display.c b/addressbook/gui/widgets/eab-contact-display.c
index 9adbe1799a..082b537e2e 100644
--- a/addressbook/gui/widgets/eab-contact-display.c
+++ b/addressbook/gui/widgets/eab-contact-display.c
@@ -646,10 +646,10 @@ eab_contact_display_render_compact (EABContactDisplay *display, EContact *contac
itself, just insert width/height tags in
the html */
gdk_pixbuf_loader_write (loader, photo->data, photo->length, NULL);
+ gdk_pixbuf_loader_close (loader, NULL);
pixbuf = gdk_pixbuf_loader_get_pixbuf (loader);
if (pixbuf)
- gdk_pixbuf_ref (pixbuf);
- gdk_pixbuf_loader_close (loader, NULL);
+ g_object_ref (pixbuf);
g_object_unref (loader);
if (pixbuf) {
int max_dimension;