diff options
| author | Kenichi Handa | 1998-10-21 11:50:56 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1998-10-21 11:50:56 +0000 |
| commit | 3541bb8faa824053ea148d51bd810986174b3646 (patch) | |
| tree | 4dd7cd2404bf37f7d0f987aa79dd2bf4a7709f3e /src | |
| parent | 9625ce22ee316719746a944c01d41fe09697dde5 (diff) | |
| download | emacs-3541bb8faa824053ea148d51bd810986174b3646.tar.gz emacs-3541bb8faa824053ea148d51bd810986174b3646.zip | |
Include frame.h before fontset.h.
(list_fonts_func): Fix prototype.
Diffstat (limited to 'src')
| -rw-r--r-- | src/fontset.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/fontset.c b/src/fontset.c index 52d2b1ddf19..6c5d39ef0f6 100644 --- a/src/fontset.c +++ b/src/fontset.c | |||
| @@ -26,8 +26,8 @@ Boston, MA 02111-1307, USA. */ | |||
| 26 | #include "lisp.h" | 26 | #include "lisp.h" |
| 27 | #include "charset.h" | 27 | #include "charset.h" |
| 28 | #include "ccl.h" | 28 | #include "ccl.h" |
| 29 | #include "fontset.h" | ||
| 30 | #include "frame.h" | 29 | #include "frame.h" |
| 30 | #include "fontset.h" | ||
| 31 | 31 | ||
| 32 | Lisp_Object Vglobal_fontset_alist; | 32 | Lisp_Object Vglobal_fontset_alist; |
| 33 | Lisp_Object Vfont_encoding_alist; | 33 | Lisp_Object Vfont_encoding_alist; |
| @@ -64,8 +64,10 @@ struct font_info *(*get_font_info_func) P_ ((FRAME_PTR f, int font_idx)); | |||
| 64 | 64 | ||
| 65 | /* Return a list of font names which matches PATTERN. See the document of | 65 | /* Return a list of font names which matches PATTERN. See the document of |
| 66 | `x-list-fonts' for more detail. */ | 66 | `x-list-fonts' for more detail. */ |
| 67 | Lisp_Object (*list_fonts_func) P_ ((Lisp_Object pattern, Lisp_Object face, | 67 | Lisp_Object (*list_fonts_func) P_ ((struct frame *f, |
| 68 | Lisp_Object frame, Lisp_Object width)); | 68 | Lisp_Object pattern, |
| 69 | int size, | ||
| 70 | int maxnames)); | ||
| 69 | 71 | ||
| 70 | /* Load a font named NAME for frame F and return a pointer to the | 72 | /* Load a font named NAME for frame F and return a pointer to the |
| 71 | information of the loaded font. If loading is failed, return 0. */ | 73 | information of the loaded font. If loading is failed, return 0. */ |