diff options
| author | Jason Rumney | 2008-07-02 16:23:35 +0000 |
|---|---|---|
| committer | Jason Rumney | 2008-07-02 16:23:35 +0000 |
| commit | 946598bf94b5a0fac989f3108a6ee2bc425611de (patch) | |
| tree | c7a4d75736afc19a66045c9c3a966c664ad02dc3 /src | |
| parent | 631855b50662f1fe2f7ae671c79bd129dd79173c (diff) | |
| download | emacs-946598bf94b5a0fac989f3108a6ee2bc425611de.tar.gz emacs-946598bf94b5a0fac989f3108a6ee2bc425611de.zip | |
(syms_of_xfns): Only define x-select-font when both HAVE_FREETYPE and USE_GTK.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 8 | ||||
| -rw-r--r-- | src/xfns.c | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 4c3faeaf442..c26abef7885 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,11 @@ | |||
| 1 | 2008-07-02 Jason Rumney <jasonr@gnu.org> | ||
| 2 | |||
| 3 | * xfns.c (syms_of_xfns): Only define x-select-font when both | ||
| 4 | HAVE_FREETYPE and USE_GTK | ||
| 5 | |||
| 6 | * xdisp.c (next_element_from_display_vector): Move assignment out | ||
| 7 | of if statement. | ||
| 8 | |||
| 1 | 2008-07-02 Toru Tsuneyoshi <t_tuneyosi@hotmail.com> | 9 | 2008-07-02 Toru Tsuneyoshi <t_tuneyosi@hotmail.com> |
| 2 | 10 | ||
| 3 | * lisp.h (Qdelete_file, Qdelete_directory): Declare extern. | 11 | * lisp.h (Qdelete_file, Qdelete_directory): Declare extern. |
diff --git a/src/xfns.c b/src/xfns.c index d32442fe7fa..07a343ccadf 100644 --- a/src/xfns.c +++ b/src/xfns.c | |||
| @@ -6071,7 +6071,7 @@ the tool bar buttons. */); | |||
| 6071 | defsubr (&Sx_file_dialog); | 6071 | defsubr (&Sx_file_dialog); |
| 6072 | #endif | 6072 | #endif |
| 6073 | 6073 | ||
| 6074 | #ifdef USE_GTK | 6074 | #if defined (USE_GTK) && defined (HAVE_FREETYPE) |
| 6075 | defsubr (&Sx_select_font); | 6075 | defsubr (&Sx_select_font); |
| 6076 | #endif | 6076 | #endif |
| 6077 | } | 6077 | } |