]> git.eshelyaron.com Git - emacs.git/commit
Fix GNUstep build warnings
authorAlan Third <alan@idiocy.org>
Thu, 3 Jun 2021 22:15:17 +0000 (23:15 +0100)
committerAlan Third <alan@idiocy.org>
Sun, 20 Jun 2021 15:53:37 +0000 (16:53 +0100)
commit0bd9e7825679dc169a69d92daeee98c9f16e3031
tree51e34d9a256e061edb3bb134d400ed9df3d3cf05
parent9e7681516f233784bc1fe88e290d480c22f22704
Fix GNUstep build warnings

* src/nsterm.h ([EmacsWindow orderedIndex]):
* src/nsterm.m ([EmacsWindow orderedIndex]): Implement orderedIndex
for use under GNUstep.
* src/nsmenu.m (free_frame_menubar):
(ns_update_menubar):
([EmacsMenu addSubmenuWithTitle:]):
([EmacsMenu addItemWithWidgetValue:attributes:]): Cast return values
to correct types.
([EmacsMenu fillWithWidgetValue:]): Move variable definition inside
relevant #ifdef block.
([EmacsMenu menuWillOpen:]):
([EmacsMenu menuDidClose:]):
([EmacsMenu confinementRectForMenu:onScreen:]):
([EmacsMenu menu:willHighlightItem:]): New functions to silence build
warnings.
* src/nsfont.m (nsfont_open): Remove pointless fabs call.
src/nsfont.m
src/nsmenu.m
src/nsterm.h
src/nsterm.m