diff options
author | Srinivasa Ragavan <sragavan@src.gnome.org> | 2006-02-24 13:41:33 +0800 |
---|---|---|
committer | Srinivasa Ragavan <sragavan@src.gnome.org> | 2006-02-24 13:41:33 +0800 |
commit | 8aa156cae015b9b971255916681f6971c028b25e (patch) | |
tree | a3168f96eef85ace5dc0a7a47f70aedb6fd653e5 /widgets/misc/e-image-chooser.c | |
parent | 946343d4804ec5c09ff13c69ae161cd616f2f514 (diff) | |
download | gsoc2013-evolution-8aa156cae015b9b971255916681f6971c028b25e.tar.gz gsoc2013-evolution-8aa156cae015b9b971255916681f6971c028b25e.tar.zst gsoc2013-evolution-8aa156cae015b9b971255916681f6971c028b25e.zip |
Fixes bug #322789
svn path=/trunk/; revision=31574
Diffstat (limited to 'widgets/misc/e-image-chooser.c')
-rw-r--r-- | widgets/misc/e-image-chooser.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/widgets/misc/e-image-chooser.c b/widgets/misc/e-image-chooser.c index f20b0a646d..cc89ce48d3 100644 --- a/widgets/misc/e-image-chooser.c +++ b/widgets/misc/e-image-chooser.c @@ -233,11 +233,12 @@ set_image_from_data (EImageChooser *chooser, GdkPixbuf *pixbuf; gdk_pixbuf_loader_write (loader, data, length, NULL); - + gdk_pixbuf_loader_close (loader, NULL); + pixbuf = gdk_pixbuf_loader_get_pixbuf (loader); if (pixbuf) g_object_ref (pixbuf); - gdk_pixbuf_loader_close (loader, NULL); + g_object_unref (loader); if (pixbuf) { |