]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/pgtkterm.h: Remove unused code
authorYuuki Harano <masm+github@masm11.me>
Sun, 24 May 2020 10:37:24 +0000 (19:37 +0900)
committerJeff Walsh <jeff.walsh@drtusers-MacBook-Pro.local>
Tue, 24 Nov 2020 01:24:40 +0000 (12:24 +1100)
src/pgtkterm.h

index b92a2cd1d1942ca1365c92200384fa6eef7417b6..4ba00e0dbdf35639508565e1f39177af064a2291 100644 (file)
@@ -435,14 +435,6 @@ enum
 
 /* Compute pixel height of the frame's titlebar. */
 #define FRAME_PGTK_TITLEBAR_HEIGHT(f)                                     0
-#if 0
-  (PGTKHeight([FRAME_PGTK_VIEW (f) frame]) == 0 ?                           \
-   0                                                                    \
-   : (int)(PGTKHeight([FRAME_PGTK_VIEW (f) window].frame)                   \
-           - PGTKHeight([PGTKWindow contentRectForFrameRect:                \
-                       [[FRAME_PGTK_VIEW (f) window] frame]               \
-                       styleMask:[[FRAME_PGTK_VIEW (f) window] styleMask]])))
-#endif
 
 /* Compute pixel size for vertical scroll bars */
 #define PGTK_SCROLL_BAR_WIDTH(f)                                       \