Index: work/gtk/layersel/layersel.c =================================================================== --- work/gtk/layersel/layersel.c (revision 8499) +++ work/gtk/layersel/layersel.c (revision 8500) @@ -73,7 +73,7 @@ GtkWidget *image; gint width, height, max_height; guchar *pixels; - guint r, g, b, a; + guint r, g, b; guint w; guchar *p; @@ -86,7 +86,6 @@ r = hex2bin(rgb+1); g = hex2bin(rgb+3); b = hex2bin(rgb+5); - a = 0xff; while (height--) { w = width; @@ -95,7 +94,7 @@ if ((height == 0) || (height == max_height-1) || (w == 0) || (w == width-1)) set_pixel(p, 0, 0, 0, 0xff); /* frame */ else if ((width-w+5 < height) || (filled)) - set_pixel(p, r, g, b, a); /* layer color fill (full or up-left triangle) */ + set_pixel(p, r, g, b, 0xff); /* layer color fill (full or up-left triangle) */ else set_pixel(p, 0xff, 0xff, 0xff, 0xff); /* the unfilled part when triangle */ p += 4;