diff options
| author | Paul Eggert | 2016-03-24 16:46:28 -0700 |
|---|---|---|
| committer | Paul Eggert | 2016-03-24 16:53:23 -0700 |
| commit | 45577d548d3abfe504d3f936b3c9b997d0cf7f9c (patch) | |
| tree | 58ef10604d72495109b310c94f319a9c9ac889c7 /src/bytecode.c | |
| parent | e99ff6e85ae30d94150e5c67dff2dd81077a6692 (diff) | |
| download | emacs-45577d548d3abfe504d3f936b3c9b997d0cf7f9c.tar.gz emacs-45577d548d3abfe504d3f936b3c9b997d0cf7f9c.zip | |
Avoid GTK 3 crash with icons and masks
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.
Diffstat (limited to 'src/bytecode.c')
0 files changed, 0 insertions, 0 deletions