mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-08 12:40:49 -08:00
(free_font_driver_list): Implement missing function.
This commit is contained in:
parent
3d9bec9a6b
commit
2ed98482b8
1 changed files with 14 additions and 0 deletions
14
src/font.c
14
src/font.c
|
|
@ -3506,6 +3506,20 @@ register_font_driver (driver, f)
|
|||
num_font_drivers++;
|
||||
}
|
||||
|
||||
void
|
||||
free_font_driver_list (f)
|
||||
FRAME_PTR f;
|
||||
{
|
||||
struct font_driver_list *list, *next;
|
||||
|
||||
for (list = f->font_driver_list; list; list = next)
|
||||
{
|
||||
next = list->next;
|
||||
xfree (list);
|
||||
}
|
||||
f->font_driver_list = NULL;
|
||||
}
|
||||
|
||||
|
||||
/* Make the frame F use font backends listed in NEW_DRIVERS (list of
|
||||
symbols, e.g. xft, x). If NEW_DRIVERS is t, make F use all
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue