1
Fork 0
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:
Chong Yidong 2008-12-13 15:39:48 +00:00
parent 3d9bec9a6b
commit 2ed98482b8

View file

@ -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