summaryrefslogtreecommitdiff
path: root/src/gtkutil.c
diff options
context:
space:
mode:
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,
above. */
oldw += (scale - 1) * oldw;
oldx -= (scale - 1) * oldw;
- x_clear_area (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f),
- oldx, oldy, oldw, oldh);
+ x_clear_area (f, oldx, oldy, oldw, oldh);
}
/* GTK does not redraw until the main loop is entered again, but