summaryrefslogtreecommitdiff
path: root/src/widget.c
diff options
context:
space:
mode:
authorKim F. Storm <storm@cua.dk>2003-03-12 12:12:26 +0000
committerKim F. Storm <storm@cua.dk>2003-03-12 12:12:26 +0000
commit055d3c98b79e78114837c82001b4ffbcc398e192 (patch)
tree6be8b778d605babebb4cb90a3adf10821c6931bb /src/widget.c
parentffbbc941e006dabe65cef31f120768677d285dbd (diff)
downloademacs-055d3c98b79e78114837c82001b4ffbcc398e192.tar.gz
Use generic compute_fringe_widths.
Diffstat (limited to 'src/widget.c')
-rw-r--r--src/widget.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widget.c b/src/widget.c
index 0bdac7b0bff..afb8b700837 100644
--- a/src/widget.c
+++ b/src/widget.c
@@ -434,7 +434,7 @@ set_frame_size (ew)
: (FRAME_SCROLL_BAR_COLS (frame)
* FONT_WIDTH (frame->output_data.x->font)));
- x_compute_fringe_widths (frame, 0);
+ compute_fringe_widths (frame, 0);
#if 0 /* This can run Lisp code, and it is dangerous to give
out the frame to Lisp code before it officially exists.
@@ -915,7 +915,7 @@ EmacsFrameSetCharSize (widget, columns, rows)
? 0
: (FRAME_SCROLL_BAR_COLS (f) * FONT_WIDTH (f->output_data.x->font)));
- x_compute_fringe_widths (f, 0);
+ compute_fringe_widths (f, 0);
char_to_pixel_size (ew, columns, rows, &pixel_width, &pixel_height);