[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-27 1482a75: Fix build failure with Fx_gtk_debug
From: |
Martin Rudalics |
Subject: |
emacs-27 1482a75: Fix build failure with Fx_gtk_debug |
Date: |
Sun, 12 Apr 2020 04:01:45 -0400 (EDT) |
branch: emacs-27
commit 1482a75efa7e198b38bd6871c1b35eedc2c94fca
Author: Martin Rudalics <address@hidden>
Commit: Martin Rudalics <address@hidden>
Fix build failure with Fx_gtk_debug
* src/xfns.c (Fx_gtk_debug, Sx_gtk_debug): Define only for GTK
versions >= 3.14.0 so gtk_window_set_interactive_debugging is
defined. Reported by Andreas Schwab <address@hidden>.
---
src/xfns.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/xfns.c b/src/xfns.c
index 0fc5530..a5431aa 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -7755,6 +7755,7 @@ Note: Text drawn with the `x' font backend is shown with
hollow boxes. */)
#ifdef USE_GTK
#ifdef HAVE_GTK3
+#if GTK_CHECK_VERSION (3, 14, 0)
DEFUN ("x-gtk-debug", Fx_gtk_debug, Sx_gtk_debug, 1, 1, 0,
doc: /* Toggle interactive GTK debugging. */)
(Lisp_Object enable)
@@ -7767,6 +7768,7 @@ DEFUN ("x-gtk-debug", Fx_gtk_debug, Sx_gtk_debug, 1, 1, 0,
return NILP (enable) ? Qnil : Qt;
}
+#endif /* GTK_CHECK_VERSION (3, 14, 0) */
#endif /* HAVE_GTK3 */
#endif /* USE_GTK */
@@ -8154,7 +8156,9 @@ eliminated in future versions of Emacs. */);
#endif
#ifdef USE_GTK
#ifdef HAVE_GTK3
+#if GTK_CHECK_VERSION (3, 14, 0)
defsubr (&Sx_gtk_debug);
#endif
#endif
+#endif
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-27 1482a75: Fix build failure with Fx_gtk_debug,
Martin Rudalics <=