[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 79cc87f3b7: Fix build on PGTK
From: |
Po Lu |
Subject: |
master 79cc87f3b7: Fix build on PGTK |
Date: |
Sat, 8 Jan 2022 02:28:22 -0500 (EST) |
branch: master
commit 79cc87f3b7a90376b16c8e45bb94eccdab4458e9
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>
Fix build on PGTK
* src/gtkutil.c (xg_mark_data):
* src/gtkutil.h (xg_filter_key): Ifdef out definitions on PGTK.
---
src/gtkutil.c | 2 ++
src/gtkutil.h | 2 ++
2 files changed, 4 insertions(+)
diff --git a/src/gtkutil.c b/src/gtkutil.c
index 4c516a4479..f236227514 100644
--- a/src/gtkutil.c
+++ b/src/gtkutil.c
@@ -2956,6 +2956,7 @@ xg_mark_data (void)
}
}
+#ifndef HAVE_PGTK
if (xg_pending_quit_event.kind != NO_EVENT)
{
eassert (xg_pending_quit_event.kind == ASCII_KEYSTROKE_EVENT);
@@ -2963,6 +2964,7 @@ xg_mark_data (void)
mark_object (xg_pending_quit_event.frame_or_window);
mark_object (xg_pending_quit_event.arg);
}
+#endif
}
/* Callback called when a menu item is destroyed. Used to free data.
diff --git a/src/gtkutil.h b/src/gtkutil.h
index a1dd281f1d..b74244d84d 100644
--- a/src/gtkutil.h
+++ b/src/gtkutil.h
@@ -217,7 +217,9 @@ extern void xg_print_frames_dialog (Lisp_Object);
extern bool xg_is_menu_window (Display *dpy, Window);
#endif
+#ifndef HAVE_PGTK
extern bool xg_filter_key (struct frame *frame, XEvent *xkey);
+#endif
/* Mark all callback data that are Lisp_object:s during GC. */
extern void xg_mark_data (void);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 79cc87f3b7: Fix build on PGTK,
Po Lu <=