From: Jim Evins Date: Sun, 31 Aug 2003 05:13:15 +0000 (+0000) Subject: No longer use RLE for pixdata -- this caused crashes for many images. X-Git-Tag: glabels-2_3_0~607 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=114640562d0fb46ac65e0afadc54c1db0fd69d44;p=glabels No longer use RLE for pixdata -- this caused crashes for many images. git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@282 f5e0f49d-192f-0410-a22d-a8d8700d0965 --- diff --git a/glabels2/src/xml-label.c b/glabels2/src/xml-label.c index 1392bad1..f91d5378 100644 --- a/glabels2/src/xml-label.c +++ b/glabels2/src/xml-label.c @@ -1438,7 +1438,7 @@ xml_create_pixdata (xmlNodePtr root, if ( pixbuf != NULL ) { pixdata = g_new0 (GdkPixdata, 1); - gdk_pixdata_from_pixbuf (pixdata, pixbuf, TRUE); + gdk_pixdata_from_pixbuf (pixdata, pixbuf, FALSE); stream = gdk_pixdata_serialize (pixdata, &stream_length); base64 = gl_base64_encode (stream, stream_length); @@ -1448,7 +1448,6 @@ xml_create_pixdata (xmlNodePtr root, gl_pixbuf_cache_remove_pixbuf (pixbuf_cache, name); - g_free (pixdata->pixel_data); g_free (pixdata); g_free (stream); g_free (base64);