diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2013-10-25 10:55:36 +0400 |
---|---|---|
committer | Dmitry Antipov <dmantipov@yandex.ru> | 2013-10-25 10:55:36 +0400 |
commit | 78e0b35c45892995da596c65759fdece3e67129d (patch) | |
tree | 4e18a2b9f5703f8eb4c7151fc061f4c13892432e /src/font.h | |
parent | 963ce6361af7f8b7aefb63e7a50956e497020b12 (diff) | |
download | emacs-78e0b35c45892995da596c65759fdece3e67129d.tar.gz |
Omit unused frame argument of font API's close function.
* font.h (struct font): Drop frame argument. Adjust comment.
* font.c (font_clear_cache, font_close_object): Adjust users.
* ftfont.c (ftfont_close):
* ftxfont.c (ftxfont_close):
* macfont.m (macfont_close):
* nsfont.m (nsfont_close):
* w32font.c (w32font_close):
* xfont.c (xfont_close):
* xftfont.c (xftfont_close): Adjust driver-specific close
functions, tweak comments and make functions safe if called
more than once for the same font object.
Diffstat (limited to 'src/font.h')
-rw-r--r-- | src/font.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/font.h b/src/font.h index 0ec56590916..9285330ce54 100644 --- a/src/font.h +++ b/src/font.h @@ -545,8 +545,8 @@ struct font_driver Lisp_Object (*open) (struct frame *f, Lisp_Object font_entity, int pixel_size); - /* Close FONT on frame F. */ - void (*close) (struct frame *f, struct font *font); + /* Close FONT. */ + void (*close) (struct font *font); /* Optional (if FACE->extra is not used). Prepare FACE for displaying characters by FONT on frame F by |