From: Derek Foreman Date: Thu, 29 May 2003 16:35:08 +0000 (+0000) Subject: remove comments from glft callers X-Git-Tag: gl2~27 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=4891f543e4ba818d0180ee6811859fe439e8f315;p=dana%2Fopenbox.git remove comments from glft callers --- diff --git a/render2/font.c b/render2/font.c index f7cddcc2..10dfc616 100644 --- a/render2/font.c +++ b/render2/font.c @@ -1,4 +1,5 @@ #include "render.h" +#include "instance.h" #include "font.h" #include @@ -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); } }