From 114640562d0fb46ac65e0afadc54c1db0fd69d44 Mon Sep 17 00:00:00 2001 From: Jim Evins Date: Sun, 31 Aug 2003 05:13:15 +0000 Subject: [PATCH] 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 --- glabels2/src/xml-label.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); -- 2.39.5