diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/gtkutil.c | 2 | ||||
| -rw-r--r-- | src/macfns.c | 2 | ||||
| -rw-r--r-- | src/w32fns.c | 5 | ||||
| -rw-r--r-- | src/widget.c | 4 | ||||
| -rw-r--r-- | src/xfns.c | 4 | ||||
| -rw-r--r-- | src/xterm.h | 1 |
6 files changed, 8 insertions, 10 deletions
diff --git a/src/gtkutil.c b/src/gtkutil.c index 2c6fb10ccb3..7c08ca77c77 100644 --- a/src/gtkutil.c +++ b/src/gtkutil.c | |||
| @@ -345,7 +345,7 @@ xg_frame_set_char_size (f, cols, rows) | |||
| 345 | : (FRAME_SCROLL_BAR_COLS (f) | 345 | : (FRAME_SCROLL_BAR_COLS (f) |
| 346 | * FONT_WIDTH (f->output_data.x->font))); | 346 | * FONT_WIDTH (f->output_data.x->font))); |
| 347 | 347 | ||
| 348 | x_compute_fringe_widths (f, 0); | 348 | compute_fringe_widths (f, 0); |
| 349 | 349 | ||
| 350 | /* Must resize our top level widget. Font size may have changed, | 350 | /* Must resize our top level widget. Font size may have changed, |
| 351 | but not rows/cols. */ | 351 | but not rows/cols. */ |
diff --git a/src/macfns.c b/src/macfns.c index 7ae8ccb0a06..ddb7e4a6401 100644 --- a/src/macfns.c +++ b/src/macfns.c | |||
| @@ -3534,7 +3534,7 @@ x_figure_window_size (f, parms) | |||
| 3534 | ? FRAME_SCROLL_BAR_PIXEL_WIDTH (f) | 3534 | ? FRAME_SCROLL_BAR_PIXEL_WIDTH (f) |
| 3535 | : (FRAME_SCROLL_BAR_COLS (f) * FONT_WIDTH (f->output_data.mac->font))); | 3535 | : (FRAME_SCROLL_BAR_COLS (f) * FONT_WIDTH (f->output_data.mac->font))); |
| 3536 | 3536 | ||
| 3537 | x_compute_fringe_widths (f, 0); | 3537 | compute_fringe_widths (f, 0); |
| 3538 | 3538 | ||
| 3539 | f->output_data.mac->pixel_width = CHAR_TO_PIXEL_WIDTH (f, f->width); | 3539 | f->output_data.mac->pixel_width = CHAR_TO_PIXEL_WIDTH (f, f->width); |
| 3540 | f->output_data.mac->pixel_height = CHAR_TO_PIXEL_HEIGHT (f, f->height); | 3540 | f->output_data.mac->pixel_height = CHAR_TO_PIXEL_HEIGHT (f, f->height); |
diff --git a/src/w32fns.c b/src/w32fns.c index 190ff15733b..42c0feb723e 100644 --- a/src/w32fns.c +++ b/src/w32fns.c | |||
| @@ -60,7 +60,6 @@ void globals_of_w32fns (); | |||
| 60 | static void init_external_image_libraries (); | 60 | static void init_external_image_libraries (); |
| 61 | 61 | ||
| 62 | extern void free_frame_menubar (); | 62 | extern void free_frame_menubar (); |
| 63 | extern void x_compute_fringe_widths P_ ((struct frame *, int)); | ||
| 64 | extern double atof (); | 63 | extern double atof (); |
| 65 | extern int w32_console_toggle_lock_key P_ ((int, Lisp_Object)); | 64 | extern int w32_console_toggle_lock_key P_ ((int, Lisp_Object)); |
| 66 | extern void w32_menu_display_help P_ ((HWND, HMENU, UINT, UINT)); | 65 | extern void w32_menu_display_help P_ ((HWND, HMENU, UINT, UINT)); |
| @@ -2521,7 +2520,7 @@ x_set_fringe_width (f, new_value, old_value) | |||
| 2521 | struct frame *f; | 2520 | struct frame *f; |
| 2522 | Lisp_Object new_value, old_value; | 2521 | Lisp_Object new_value, old_value; |
| 2523 | { | 2522 | { |
| 2524 | x_compute_fringe_widths (f, 1); | 2523 | compute_fringe_widths (f, 1); |
| 2525 | } | 2524 | } |
| 2526 | 2525 | ||
| 2527 | void | 2526 | void |
| @@ -3336,7 +3335,7 @@ x_figure_window_size (f, parms) | |||
| 3336 | ? FRAME_SCROLL_BAR_PIXEL_WIDTH (f) | 3335 | ? FRAME_SCROLL_BAR_PIXEL_WIDTH (f) |
| 3337 | : (FRAME_SCROLL_BAR_COLS (f) * FONT_WIDTH (f->output_data.w32->font))); | 3336 | : (FRAME_SCROLL_BAR_COLS (f) * FONT_WIDTH (f->output_data.w32->font))); |
| 3338 | 3337 | ||
| 3339 | x_compute_fringe_widths (f, 0); | 3338 | compute_fringe_widths (f, 0); |
| 3340 | 3339 | ||
| 3341 | f->output_data.w32->pixel_width = CHAR_TO_PIXEL_WIDTH (f, f->width); | 3340 | f->output_data.w32->pixel_width = CHAR_TO_PIXEL_WIDTH (f, f->width); |
| 3342 | f->output_data.w32->pixel_height = CHAR_TO_PIXEL_HEIGHT (f, f->height); | 3341 | f->output_data.w32->pixel_height = CHAR_TO_PIXEL_HEIGHT (f, f->height); |
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 | ||
diff --git a/src/xfns.c b/src/xfns.c index 24b21aec552..77a46bf212c 100644 --- a/src/xfns.c +++ b/src/xfns.c | |||
| @@ -2057,7 +2057,7 @@ x_set_fringe_width (f, new_value, old_value) | |||
| 2057 | struct frame *f; | 2057 | struct frame *f; |
| 2058 | Lisp_Object new_value, old_value; | 2058 | Lisp_Object new_value, old_value; |
| 2059 | { | 2059 | { |
| 2060 | x_compute_fringe_widths (f, 1); | 2060 | compute_fringe_widths (f, 1); |
| 2061 | } | 2061 | } |
| 2062 | 2062 | ||
| 2063 | void | 2063 | void |
| @@ -3329,7 +3329,7 @@ x_figure_window_size (f, parms) | |||
| 3329 | ? 0 | 3329 | ? 0 |
| 3330 | : (FRAME_SCROLL_BAR_COLS (f) * FONT_WIDTH (f->output_data.x->font))); | 3330 | : (FRAME_SCROLL_BAR_COLS (f) * FONT_WIDTH (f->output_data.x->font))); |
| 3331 | 3331 | ||
| 3332 | x_compute_fringe_widths (f, 0); | 3332 | compute_fringe_widths (f, 0); |
| 3333 | 3333 | ||
| 3334 | f->output_data.x->pixel_width = CHAR_TO_PIXEL_WIDTH (f, f->width); | 3334 | f->output_data.x->pixel_width = CHAR_TO_PIXEL_WIDTH (f, f->width); |
| 3335 | f->output_data.x->pixel_height = CHAR_TO_PIXEL_HEIGHT (f, f->height); | 3335 | f->output_data.x->pixel_height = CHAR_TO_PIXEL_HEIGHT (f, f->height); |
diff --git a/src/xterm.h b/src/xterm.h index 3c8bee6c4fa..42939be3fe5 100644 --- a/src/xterm.h +++ b/src/xterm.h | |||
| @@ -1062,7 +1062,6 @@ extern int x_had_errors_p P_ ((Display *)); | |||
| 1062 | extern void x_uncatch_errors P_ ((Display *, int)); | 1062 | extern void x_uncatch_errors P_ ((Display *, int)); |
| 1063 | extern Lisp_Object x_new_font P_ ((struct frame *, char *)); | 1063 | extern Lisp_Object x_new_font P_ ((struct frame *, char *)); |
| 1064 | extern Lisp_Object x_new_fontset P_ ((struct frame *, char *)); | 1064 | extern Lisp_Object x_new_fontset P_ ((struct frame *, char *)); |
| 1065 | extern void x_compute_fringe_widths P_ ((struct frame *, int)); | ||
| 1066 | extern void x_set_offset P_ ((struct frame *, int, int, int)); | 1065 | extern void x_set_offset P_ ((struct frame *, int, int, int)); |
| 1067 | extern void x_set_window_size P_ ((struct frame *, int, int, int)); | 1066 | extern void x_set_window_size P_ ((struct frame *, int, int, int)); |
| 1068 | extern void x_set_mouse_position P_ ((struct frame *, int, int)); | 1067 | extern void x_set_mouse_position P_ ((struct frame *, int, int)); |