diff options
| author | Chong Yidong | 2008-12-13 15:39:48 +0000 |
|---|---|---|
| committer | Chong Yidong | 2008-12-13 15:39:48 +0000 |
| commit | 2ed98482b85cef52f4ed901c44bef723206c215c (patch) | |
| tree | bb6cbfb3eee9fd1d6de0f6af2e727805a2ed5461 /src/font.c | |
| parent | 3d9bec9a6b872538259c9cf11fb4dfc0a14635bf (diff) | |
| download | emacs-2ed98482b85cef52f4ed901c44bef723206c215c.tar.gz emacs-2ed98482b85cef52f4ed901c44bef723206c215c.zip | |
(free_font_driver_list): Implement missing function.
Diffstat (limited to 'src/font.c')
| -rw-r--r-- | src/font.c | 14 |
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 | ||
| 3509 | void | ||
| 3510 | free_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 |