summaryrefslogtreecommitdiff
path: root/src/nsfns.m
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2013-07-31 16:50:59 +0400
committerDmitry Antipov <dmantipov@yandex.ru>2013-07-31 16:50:59 +0400
commitf435830ea42db6073ed8714452dae302a3c855c5 (patch)
tree439809f2d9947708019f4be567365f80e11e5598 /src/nsfns.m
parent2412ee1af63c6cc8f4a85919cc78e59cb6ec83e3 (diff)
downloademacs-f435830ea42db6073ed8714452dae302a3c855c5.tar.gz
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/nsfns.m')
-rw-r--r--src/nsfns.m15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/nsfns.m b/src/nsfns.m
index 71f971a9f5b..3a4d95360c4 100644
--- a/src/nsfns.m
+++ b/src/nsfns.m
@@ -2231,21 +2231,6 @@ x_get_focus_frame (struct frame *frame)
return nsfocus;
}
-
-int
-x_pixel_width (struct frame *f)
-{
- return FRAME_PIXEL_WIDTH (f);
-}
-
-
-int
-x_pixel_height (struct frame *f)
-{
- return FRAME_PIXEL_HEIGHT (f);
-}
-
-
void
x_sync (struct frame *f)
{