aboutsummaryrefslogtreecommitdiffstats
path: root/src/widget.c
diff options
context:
space:
mode:
authorKim F. Storm2003-03-12 12:12:26 +0000
committerKim F. Storm2003-03-12 12:12:26 +0000
commit055d3c98b79e78114837c82001b4ffbcc398e192 (patch)
tree6be8b778d605babebb4cb90a3adf10821c6931bb /src/widget.c
parentffbbc941e006dabe65cef31f120768677d285dbd (diff)
downloademacs-055d3c98b79e78114837c82001b4ffbcc398e192.tar.gz
emacs-055d3c98b79e78114837c82001b4ffbcc398e192.zip
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)
434 : (FRAME_SCROLL_BAR_COLS (frame) 434 : (FRAME_SCROLL_BAR_COLS (frame)
435 * FONT_WIDTH (frame->output_data.x->font))); 435 * FONT_WIDTH (frame->output_data.x->font)));
436 436
437 x_compute_fringe_widths (frame, 0); 437 compute_fringe_widths (frame, 0);
438 438
439#if 0 /* This can run Lisp code, and it is dangerous to give 439#if 0 /* This can run Lisp code, and it is dangerous to give
440 out the frame to Lisp code before it officially exists. 440 out the frame to Lisp code before it officially exists.
@@ -915,7 +915,7 @@ EmacsFrameSetCharSize (widget, columns, rows)
915 ? 0 915 ? 0
916 : (FRAME_SCROLL_BAR_COLS (f) * FONT_WIDTH (f->output_data.x->font))); 916 : (FRAME_SCROLL_BAR_COLS (f) * FONT_WIDTH (f->output_data.x->font)));
917 917
918 x_compute_fringe_widths (f, 0); 918 compute_fringe_widths (f, 0);
919 919
920 char_to_pixel_size (ew, columns, rows, &pixel_width, &pixel_height); 920 char_to_pixel_size (ew, columns, rows, &pixel_width, &pixel_height);
921 921