(syms_of_xfns): Only define x-select-font when both HAVE_FREETYPE and USE_GTK.

This commit is contained in:
Jason Rumney 2008-07-02 16:23:35 +00:00
parent 631855b506
commit 946598bf94
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,11 @@
2008-07-02 Jason Rumney <jasonr@gnu.org>
* xfns.c (syms_of_xfns): Only define x-select-font when both
HAVE_FREETYPE and USE_GTK
* xdisp.c (next_element_from_display_vector): Move assignment out
of if statement.
2008-07-02 Toru Tsuneyoshi <t_tuneyosi@hotmail.com>
* lisp.h (Qdelete_file, Qdelete_directory): Declare extern.

View file

@ -6071,7 +6071,7 @@ the tool bar buttons. */);
defsubr (&Sx_file_dialog);
#endif
#ifdef USE_GTK
#if defined (USE_GTK) && defined (HAVE_FREETYPE)
defsubr (&Sx_select_font);
#endif
}