summaryrefslogtreecommitdiff
path: root/src/pgtkselect.c
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2022-02-06 09:18:59 +0800
committerPo Lu <luangruo@yahoo.com>2022-02-06 09:18:59 +0800
commitb38c0d6a2ff2dca89e9bf5feed49b7708ebf9942 (patch)
treee9f1b7077a58a2f6d3d7874b96dccce87305af9b /src/pgtkselect.c
parent9c1d6b1d6a24338517756437757cc4aaaa4da4e5 (diff)
downloademacs-b38c0d6a2ff2dca89e9bf5feed49b7708ebf9942.tar.gz
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.
Diffstat (limited to 'src/pgtkselect.c')
-rw-r--r--src/pgtkselect.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/pgtkselect.c b/src/pgtkselect.c
index 23a79895d54..24fed19cd23 100644
--- a/src/pgtkselect.c
+++ b/src/pgtkselect.c
@@ -36,10 +36,6 @@ GNUstep port and post-20 update by Adrian Robert (arobert@cogsci.ucsd.edu)
#include "pgtkselect.h"
#include <gdk/gdk.h>
-#if 0
-static Lisp_Object Vselection_alist;
-#endif
-
static GQuark quark_primary_data = 0;
static GQuark quark_primary_size = 0;
static GQuark quark_secondary_data = 0;
@@ -606,11 +602,6 @@ syms_of_pgtkselect (void)
defsubr (&Spgtk_selection_exists_p);
defsubr (&Spgtk_selection_owner_p);
-#if 0
- Vselection_alist = Qnil;
- staticpro (&Vselection_alist);
-#endif
-
DEFVAR_LISP ("pgtk-sent-selection-hooks", Vpgtk_sent_selection_hooks,
"A list of functions to be called when Emacs answers a selection request.\n\
The functions are called with four arguments:\n\