summaryrefslogtreecommitdiff
path: root/lisp/cus-start.el
diff options
context:
space:
mode:
authorJan Djärv <jan.h.d@swipnet.se>2015-05-15 16:21:59 +0200
committerJan Djärv <jan.h.d@swipnet.se>2015-05-15 16:23:44 +0200
commite0e0753505cc2efefcee16bbed99ec6b9e5bcb39 (patch)
treec34a9973a17919fe937ae5591c3d99c4e4a58ecb /lisp/cus-start.el
parent2abfe21de9241aea36f7221184886b6b39f7648b (diff)
downloademacs-e0e0753505cc2efefcee16bbed99ec6b9e5bcb39.tar.gz
Fix warnings on OSX 10.10.
* nsfns.m (MODAL_OK_RESPONSE): New define for different OSX versions. (Fns_read_file_name): Check against MODAL_OK_RESPONSE. (compute_tip_xy): Use convertRectToScreen for OSX >= 10.7 * nsmenu.m (initWithContentRect:styleMask:backing:defer:) * nsimage.m (allocInitFromFile, setPixmapData): Only call setScalesWhenResized for OSX < 10.6. * nsterm.h (EmacsScroller): Declare scrollerWidth. * nsterm.m (ns_copy_bits): New function that does not use deprecated NSCopyBits. (ns_scroll_run, ns_shift_glyphs_for_insert): Call ns_copy_bits. (runAlertPanel): New function. (applicationShouldTerminate:): Call runAlertPanel. (initFrameFromEmacs, toggleFullScreen:): Only call useOptimizedDrawing for OSX < 10.10. (initFrameFromEmacs:): Only call allocateGState for OSX < 10.10. (windowWillUseStandardFrame:defaultFrame:): Cast arg to abs to int. (draggingEntered:): Returns NSDragOperation. (scrollerWidth): Use scrollerWidthForControlSize for OSX >= 10.7.
Diffstat (limited to 'lisp/cus-start.el')
0 files changed, 0 insertions, 0 deletions