diff src/xfns.c @ 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 43663119f752
children 5044b3527ce8 ad01ab3c6f4d 4c90ffeb71c5
line wrap: on
line diff
--- 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,