]> git.eshelyaron.com Git - emacs.git/commit
Fix macOS/GNUstep compilation warnings
authorAlan Third <alan@idiocy.org>
Mon, 2 Mar 2020 17:54:32 +0000 (17:54 +0000)
committerAlan Third <alan@idiocy.org>
Mon, 2 Mar 2020 18:30:44 +0000 (18:30 +0000)
commitb4911a6f0da0bfae3832b3aa0c111db4bb2f49d5
tree7c909d1bcc75f7ecb8bacd81d8a04648f7c8902c
parent68109c56e45ff531934bfe81f9bd14a530a35574
Fix macOS/GNUstep compilation warnings

* src/nsfns.m (handlePanelKeys): Unused function.
* src/nsterm.m (ns_set_appearance):
([EmacsView initFrameFromEmacs:]): Use EmacsWindow type instead of
NSWindow.
(ns_clip_to_row): Unused function.
(ns_dumpglyphs_stretch): Remove unused variable.
(ns_term_init):
([EmacsWindow setAppearance]): Only compile on macOS.
(ns_mouse_position): Make sure f is initialised on GNUstep.
* src/emacs.c (main): Move allocation of autorelease pool to before
first use.
src/emacs.c
src/nsfns.m
src/nsterm.m