projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad27702
)
remove comments from glft callers
author
Derek Foreman
<manmower@gmail.com>
Thu, 29 May 2003 16:35:08 +0000
(16:35 +0000)
committer
Derek Foreman
<manmower@gmail.com>
Thu, 29 May 2003 16:35:08 +0000
(16:35 +0000)
render2/font.c
patch
|
blob
|
history
diff --git
a/render2/font.c
b/render2/font.c
index f7cddcc21dcfa3c7777689d4cb8023895b2fb776..10dfc616b62e5bb8e98bbe5ec487f54f8f6a2b64 100644
(file)
--- a/
render2/font.c
+++ b/
render2/font.c
@@
-1,4
+1,5
@@
#include "render.h"
+#include "instance.h"
#include "font.h"
#include <stdlib.h>
@@
-8,14
+9,14
@@
struct RrFont *RrFontOpen(struct RrInstance *inst, const char *fontstring)
font = malloc(sizeof(struct RrFont));
font->inst = inst;
-/*XXX font->font = GlftFontOpen(fontstring);*/
+ font->font = GlftFontOpen(RrDisplay(inst), RrScreen(inst), fontstring);
return font;
}
void RrFontClose(struct RrFont *font)
{
if (font) {
-/*XXX GlftFontClose(font->font);*/
+ GlftFontClose(font->font);
free(font);
}
}