Mercurial > emacs
changeset 91245:26541bdcecd0
(xfont_get_cache): Adjust the argument type.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Tue, 18 Dec 2007 11:37:05 +0000 |
parents | 54b067217411 |
children | 3a1805edf0b5 |
files | src/xfont.c |
diffstat | 1 files changed, 5 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xfont.c Tue Dec 18 11:36:22 2007 +0000 +++ b/src/xfont.c Tue Dec 18 11:37:05 2007 +0000 @@ -154,7 +154,7 @@ ? NULL : pcm); } -static Lisp_Object xfont_get_cache P_ ((Lisp_Object)); +static Lisp_Object xfont_get_cache P_ ((FRAME_PTR)); static Lisp_Object xfont_list P_ ((Lisp_Object, Lisp_Object)); static Lisp_Object xfont_match P_ ((Lisp_Object, Lisp_Object)); static Lisp_Object xfont_list_family P_ ((Lisp_Object)); @@ -185,16 +185,16 @@ xfont_has_char, xfont_encode_char, xfont_text_extents, - xfont_draw, + xfont_draw }; extern Lisp_Object QCname; static Lisp_Object -xfont_get_cache (frame) - Lisp_Object frame; +xfont_get_cache (f) + FRAME_PTR f; { - Display_Info *dpyinfo = FRAME_X_DISPLAY_INFO (XFRAME (frame)); + Display_Info *dpyinfo = FRAME_X_DISPLAY_INFO (f); return (dpyinfo->name_list_element); } @@ -815,7 +815,6 @@ return len; } - void syms_of_xfont ()