-
Paul Eggert authored
Problem reported by Mosè Giordano (Bug#18997). * src/gtkutil.c (xg_get_pixbuf_from_pixmap): Remove. (xg_get_pixbuf_from_pix_and_mask): Do not use xg_get_pixbuf_from_pixmap, as it is poorly documented. Instead, invoke XGetPixel directly. This is slow but speed is not important here. Also, fail for unusual situations (not TrueColor, or images that are not 8 bits per sample) instead of displaying junk or crashing.
45577d54