diff options
| author | Dmitry Antipov | 2013-07-31 16:50:59 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2013-07-31 16:50:59 +0400 |
| commit | f435830ea42db6073ed8714452dae302a3c855c5 (patch) | |
| tree | 439809f2d9947708019f4be567365f80e11e5598 /src/msdos.c | |
| parent | 2412ee1af63c6cc8f4a85919cc78e59cb6ec83e3 (diff) | |
| download | emacs-f435830ea42db6073ed8714452dae302a3c855c5.tar.gz emacs-f435830ea42db6073ed8714452dae302a3c855c5.zip | |
Drop unnecessary functions that deals with frame pixel size.
* frame.h, msdos.h, w32term.h, xterm.h (x_pixel_width)
(x_pixel_height): Drop prototypes.
* msdos.c, nsfns.m, w32fns.c, xfns.c (x_pixel_width)
(x_pixel_height): Drop implementations.
* frame.c (Fframe_pixel_height): Use FRAME_PIXEL_HEIGHT
which should be always valid for window frame.
(Frame_pixel_width): Likewise with FRAME_PIXEL_WIDTH.
* w32menu.c (Fx_popup_dialog):
* xmenu.c (Fx_popup_dialog): Likewise for both.
Diffstat (limited to 'src/msdos.c')
| -rw-r--r-- | src/msdos.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/msdos.c b/src/msdos.c index a2bcc06ac17..16308d06c85 100644 --- a/src/msdos.c +++ b/src/msdos.c | |||
| @@ -3320,18 +3320,6 @@ XMenuDestroy (Display *foo, XMenu *menu) | |||
| 3320 | xfree (menu); | 3320 | xfree (menu); |
| 3321 | menu_help_message = prev_menu_help_message = NULL; | 3321 | menu_help_message = prev_menu_help_message = NULL; |
| 3322 | } | 3322 | } |
| 3323 | |||
| 3324 | int | ||
| 3325 | x_pixel_width (struct frame *f) | ||
| 3326 | { | ||
| 3327 | return FRAME_COLS (f); | ||
| 3328 | } | ||
| 3329 | |||
| 3330 | int | ||
| 3331 | x_pixel_height (struct frame *f) | ||
| 3332 | { | ||
| 3333 | return FRAME_LINES (f); | ||
| 3334 | } | ||
| 3335 | #endif /* !HAVE_X_WINDOWS */ | 3323 | #endif /* !HAVE_X_WINDOWS */ |
| 3336 | 3324 | ||
| 3337 | /* ----------------------- DOS / UNIX conversion --------------------- */ | 3325 | /* ----------------------- DOS / UNIX conversion --------------------- */ |