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/xterm.h | |
| 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/xterm.h')
| -rw-r--r-- | src/xterm.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/xterm.h b/src/xterm.h index 6bdc708220b..311b32c7930 100644 --- a/src/xterm.h +++ b/src/xterm.h | |||
| @@ -1031,8 +1031,6 @@ extern void destroy_frame_xic (struct frame *); | |||
| 1031 | extern void xic_set_preeditarea (struct window *, int, int); | 1031 | extern void xic_set_preeditarea (struct window *, int, int); |
| 1032 | extern void xic_set_statusarea (struct frame *); | 1032 | extern void xic_set_statusarea (struct frame *); |
| 1033 | extern void xic_set_xfontset (struct frame *, const char *); | 1033 | extern void xic_set_xfontset (struct frame *, const char *); |
| 1034 | extern int x_pixel_width (struct frame *); | ||
| 1035 | extern int x_pixel_height (struct frame *); | ||
| 1036 | extern bool x_defined_color (struct frame *, const char *, XColor *, bool); | 1034 | extern bool x_defined_color (struct frame *, const char *, XColor *, bool); |
| 1037 | #ifdef HAVE_X_I18N | 1035 | #ifdef HAVE_X_I18N |
| 1038 | extern void free_frame_xic (struct frame *); | 1036 | extern void free_frame_xic (struct frame *); |