HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3d9bec9
)
(free_font_driver_list): Implement missing function.
author
Chong Yidong
<cyd@stupidchicken.com>
Sat, 13 Dec 2008 15:39:48 +0000
(15:39 +0000)
committer
Chong Yidong
<cyd@stupidchicken.com>
Sat, 13 Dec 2008 15:39:48 +0000
(15:39 +0000)
src/font.c
patch
|
blob
|
blame
|
history
diff --git
a/src/font.c
b/src/font.c
index
10e3483
..
fbfcf4b
100644
(file)
--- a/
src/font.c
+++ b/
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