diff options
Diffstat (limited to 'gdk-pixbuf')
-rw-r--r-- | gdk-pixbuf/io-gif.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk-pixbuf/io-gif.c b/gdk-pixbuf/io-gif.c index d3bbcbfed..1e3781301 100644 --- a/gdk-pixbuf/io-gif.c +++ b/gdk-pixbuf/io-gif.c @@ -382,7 +382,7 @@ ReadImage (FILE *file, } context->pixbuf = gdk_pixbuf_new (ART_PIX_RGB, - context->gif89.transparent, + TRUE,//context->gif89.transparent, 8, context->width, context->height); @@ -390,7 +390,7 @@ ReadImage (FILE *file, dest = gdk_pixbuf_get_pixels (context->pixbuf); while ((v = LWZReadByte (file, FALSE, c)) >= 0) { // g_print ("in inner loop: xpos = %d, ypos = %d\n", xpos, ypos); - if (context->gif89.transparent) { + if (TRUE || context->gif89.transparent) { temp = dest + (ypos * len + xpos) * 4; *temp = cmap [0][(guchar) v]; *(temp+1) = cmap [1][(guchar) v]; |