aboutsummaryrefslogtreecommitdiffstats
path: root/src/frame.c
diff options
context:
space:
mode:
authorStefan Monnier2016-08-02 22:43:11 -0400
committerStefan Monnier2016-08-02 22:43:11 -0400
commit5f0b1c307a7d66ee8d2afa2eff982866785f60dd (patch)
tree735d79a94cfbd207e09c3ad64956bcc7be0fc1d6 /src/frame.c
parentd98f7834266beed9b1c7b561168570938ec2c6bf (diff)
downloademacs-5f0b1c307a7d66ee8d2afa2eff982866785f60dd.tar.gz
emacs-5f0b1c307a7d66ee8d2afa2eff982866785f60dd.zip
* src/window.c (sanitize_window_sizes): Remove unused arg `frame'
* src/window.h (sanitize_window_sizes): Adjust prototype. * src/frame.c (adjust_frame_size): Adjust calls.
Diffstat (limited to 'src/frame.c')
-rw-r--r--src/frame.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/frame.c b/src/frame.c
index 22143ab26bf..899c315016b 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -501,8 +501,8 @@ adjust_frame_size (struct frame *f, int new_width, int new_height, int inhibit,
501 && new_lines == old_lines) 501 && new_lines == old_lines)
502 /* No change. Sanitize window sizes and return. */ 502 /* No change. Sanitize window sizes and return. */
503 { 503 {
504 sanitize_window_sizes (frame, Qt); 504 sanitize_window_sizes (Qt);
505 sanitize_window_sizes (frame, Qnil); 505 sanitize_window_sizes (Qnil);
506 506
507 return; 507 return;
508 } 508 }
@@ -582,8 +582,8 @@ adjust_frame_size (struct frame *f, int new_width, int new_height, int inhibit,
582 } 582 }
583 583
584 /* Sanitize window sizes. */ 584 /* Sanitize window sizes. */
585 sanitize_window_sizes (frame, Qt); 585 sanitize_window_sizes (Qt);
586 sanitize_window_sizes (frame, Qnil); 586 sanitize_window_sizes (Qnil);
587 587
588 adjust_frame_glyphs (f); 588 adjust_frame_glyphs (f);
589 calculate_costs (f); 589 calculate_costs (f);