]> git.eshelyaron.com Git - emacs.git/commit
Fix some problems in the Cairo build
authorAri Roponen <ari.roponen@gmail.com>
Fri, 27 Apr 2018 12:13:12 +0000 (15:13 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 2 Jun 2018 09:33:13 +0000 (12:33 +0300)
commitaac541e75e2c22d05752025c2087ae2eea4cb525
tree24357a6045713312196d8faeb62100441ad130c8
parente96245a5497ecbc6c58740a6b6bd1f848a44b26c
Fix some problems in the Cairo build

* src/xterm.c (x_begin_cr_clip): Create image surface.
(x_update_end) [USE_CAIRO]: Remove GTK3-specific code.
(x_scroll_run) [USE_CAIRO]: Implement scrolling.
* src/image.c (lookup_rgb_color) [USE_CAIRO]: Support Cairo.
(jpeg_load_body) [USE_CAIRO]: Support Cairo.  Use USE_CAIRO
instead of CAIRO for #ifdef's.
(imagemagick_load_image) [USE_CAIRO]: Support Cairo.
(Bug#31288)

(cherry picked from commit 2d0eff42b8f1122e00f948759ed01a3be1a8c3fc)
src/image.c
src/xterm.c