aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/font.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/font.c b/src/font.c
index 10e3483462f..fbfcf4b2496 100644
--- a/src/font.c
+++ b/src/font.c
@@ -3506,6 +3506,20 @@ register_font_driver (driver, f)
3506 num_font_drivers++; 3506 num_font_drivers++;
3507} 3507}
3508 3508
3509void
3510free_font_driver_list (f)
3511 FRAME_PTR f;
3512{
3513 struct font_driver_list *list, *next;
3514
3515 for (list = f->font_driver_list; list; list = next)
3516 {
3517 next = list->next;
3518 xfree (list);
3519 }
3520 f->font_driver_list = NULL;
3521}
3522
3509 3523
3510/* Make the frame F use font backends listed in NEW_DRIVERS (list of 3524/* Make the frame F use font backends listed in NEW_DRIVERS (list of
3511 symbols, e.g. xft, x). If NEW_DRIVERS is t, make F use all 3525 symbols, e.g. xft, x). If NEW_DRIVERS is t, make F use all