aboutsummaryrefslogtreecommitdiffstats
path: root/src/gtkutil.c
diff options
context:
space:
mode:
authorJan D2015-05-23 12:27:56 +0200
committerJan D2015-05-23 12:27:56 +0200
commitee14727ce033bae3bc11af35e7843604e5a5e635 (patch)
treee343d880105ddefeb5c9db06dfc1072db7941708 /src/gtkutil.c
parent6445ee0fb751ae2c1dfef900d44721b3d952812f (diff)
downloademacs-old-branches/cairo.tar.gz
emacs-old-branches/cairo.zip
Fixes to compile cairo branch without cairo.old-branches/cairo
* src/gtkutil.c (xg_update_scrollbar_pos): x_clear_area takes frame as first argument. * src/xterm.c (handle_one_xevent): Surround x_cr_destroy_surface with USE_CAIRO.
Diffstat (limited to 'src/gtkutil.c')
-rw-r--r--src/gtkutil.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gtkutil.c b/src/gtkutil.c
index 5d28b0221af..a4b4331c039 100644
--- a/src/gtkutil.c
+++ b/src/gtkutil.c
@@ -3824,8 +3824,7 @@ xg_update_scrollbar_pos (struct frame *f,
3824 above. */ 3824 above. */
3825 oldw += (scale - 1) * oldw; 3825 oldw += (scale - 1) * oldw;
3826 oldx -= (scale - 1) * oldw; 3826 oldx -= (scale - 1) * oldw;
3827 x_clear_area (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), 3827 x_clear_area (f, oldx, oldy, oldw, oldh);
3828 oldx, oldy, oldw, oldh);
3829 } 3828 }
3830 3829
3831 /* GTK does not redraw until the main loop is entered again, but 3830 /* GTK does not redraw until the main loop is entered again, but