diff options
-rw-r--r-- | addressbook/ChangeLog | 7 | ||||
-rw-r--r-- | addressbook/gui/widgets/eab-contact-display.c | 4 |
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; |