]> git.eshelyaron.com Git - emacs.git/commit
Clean up lots of #ifdef'd out code in PGTK files
authorPo Lu <luangruo@yahoo.com>
Sun, 6 Feb 2022 01:18:59 +0000 (09:18 +0800)
committerPo Lu <luangruo@yahoo.com>
Sun, 6 Feb 2022 01:18:59 +0000 (09:18 +0800)
commitb38c0d6a2ff2dca89e9bf5feed49b7708ebf9942
treee9f1b7077a58a2f6d3d7874b96dccce87305af9b
parent9c1d6b1d6a24338517756437757cc4aaaa4da4e5
Clean up lots of #ifdef'd out code in PGTK files

Most of them are either relics from X or from the NS code
pgtkfns.c was copied from whole.

* src/pgtkfns.c (x_icon):
(pgtk_set_scroll_bar_foreground):
(pgtk_set_scroll_bar_background):
(Fx_create_frame):
(pgtk_window_is_ancestor):
(x_create_tip_frame):
* src/pgtkselect.c (syms_of_pgtkselect):
* src/pgtkterm.c (pgtk_iconify_frame):
(x_set_frame_alpha):
(button_event): Remove defined out code that cannot make sense.

* src/pgtkmenu.c (show_help_event): Remove ifdef'd out code and
reword comment.
src/pgtkfns.c
src/pgtkmenu.c
src/pgtkselect.c
src/pgtkterm.c