changeset 55546:4e3b166f7f72

* xfns.c (syms_of_xfns): Provide x-toolkit also for GTK.
author Jan Djärv <jan.h.d@swipnet.se>
date Wed, 12 May 2004 09:24:02 +0000
parents 70c4138d3b8d
children 73acfb2dff8f
files src/ChangeLog src/xfns.c
diffstat 2 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Wed May 12 09:23:02 2004 +0000
+++ b/src/ChangeLog	Wed May 12 09:24:02 2004 +0000
@@ -1,3 +1,7 @@
+2004-05-12  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>
+
+	* xfns.c (syms_of_xfns): Provide x-toolkit also for GTK.
+
 2004-05-11  Steven Tamm  <steventamm@mac.com>
 
 	* macfns.c (Fx_create_frame): Default to using tool-bar by
--- a/src/xfns.c	Wed May 12 09:23:02 2004 +0000
+++ b/src/xfns.c	Wed May 12 09:24:02 2004 +0000
@@ -5495,6 +5495,11 @@
 #endif /* USE_X_TOOLKIT */
 
 #ifdef USE_GTK
+  /* Provide x-toolkit also for GTK.  Internally GTK does not use Xt so it
+     is not an X toolkit in that sense (USE_X_TOOLKIT is not defined).
+     But for a user it is a toolkit for X, and indeed, configure
+     accepts --with-x-toolkit=gtk.  */
+  Fprovide (intern ("x-toolkit"), Qnil);
   Fprovide (intern ("gtk"), Qnil);
 
   DEFVAR_LISP ("gtk-version-string", &Vgtk_version_string,