changeset 96494:80ac8ab05d8d

(syms_of_xfns): Only define x-select-font when both HAVE_FREETYPE and USE_GTK.
author Jason Rumney <jasonr@gnu.org>
date Wed, 02 Jul 2008 16:23:05 +0000
parents eee935c288d1
children c7a78d44a1d3
files src/xfns.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfns.c	Wed Jul 02 15:20:33 2008 +0000
+++ b/src/xfns.c	Wed Jul 02 16:23:05 2008 +0000
@@ -6071,7 +6071,7 @@
   defsubr (&Sx_file_dialog);
 #endif
 
-#ifdef USE_GTK
+#if defined (USE_GTK) && defined (HAVE_FREETYPE)
   defsubr (&Sx_select_font);
 #endif
 }