]> git.sur5r.net Git - glabels/commitdiff
No longer use RLE for pixdata -- this caused crashes for many images.
authorJim Evins <evins@snaught.com>
Sun, 31 Aug 2003 05:13:15 +0000 (05:13 +0000)
committerJim Evins <evins@snaught.com>
Sun, 31 Aug 2003 05:13:15 +0000 (05:13 +0000)
git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@282 f5e0f49d-192f-0410-a22d-a8d8700d0965

glabels2/src/xml-label.c

index 1392bad1ded26be5c7035784c7149a2f6f29db91..f91d537861532c8863c5f5d9b3679b152058bd09 100644 (file)
@@ -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);