diff options
author | Hiroyuki Ikezoe <poincare@ikezoe.net> | 2006-06-14 19:51:46 +0800 |
---|---|---|
committer | Andre Klapper <aklapper@src.gnome.org> | 2006-06-14 19:51:46 +0800 |
commit | df3a4f7620e1524a1405bf1d2b4727f42f37078e (patch) | |
tree | 71b42067a5c17e18b567310621c511d0d6d61857 /addressbook/gui | |
parent | 835fccaf66254c229bf4a7bf5985f944b3b3741c (diff) | |
download | gsoc2013-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/gui')
-rw-r--r-- | addressbook/gui/widgets/eab-contact-display.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |