Fix some problems in the Cairo build
commit2d0eff42b8f1122e00f948759ed01a3be1a8c3fc
authorAri Roponen <ari.roponen@gmail.com>
Fri, 27 Apr 2018 12:13:12 +0000 (27 15:13 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 5 May 2018 09:29:40 +0000 (5 12:29 +0300)
tree7da62170f024c50bf1d0de672827e80cdc92e9ac
parente2879c1f837059335af89022b2a9ac9bc861e96d
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)
src/image.c
src/xterm.c