From: Matthew Fernandez Date: Wed, 19 May 2021 03:02:26 +0000 (-0700) Subject: remove commented out change_fonts X-Git-Tag: 2.47.3~23^2~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=04c516387ca40dcce01fd9d9f409c7170d65e27c;p=graphviz remove commented out change_fonts --- diff --git a/lib/glcomp/glcompset.c b/lib/glcomp/glcompset.c index 0ee066131..8034927ac 100644 --- a/lib/glcomp/glcompset.c +++ b/lib/glcomp/glcompset.c @@ -386,24 +386,3 @@ extern int glcompsetNextGroupId(glCompSet * s) s->groupCount++; return rv; } - - - - -#if 0 -static void change_fonts(glCompSet * s, const texFont_t * sourcefont) -{ - int ind; - - for (ind = 0; ind < s->buttoncount; ind++) { - copy_font((s->buttons[ind]->font), sourcefont); - } - for (ind = 0; ind < s->labelcount; ind++) { - copy_font((s->labels[ind]->font), sourcefont); - - } - for (ind = 0; ind < s->panelcount; ind++) { - copy_font((s->panels[ind]->font), sourcefont); - } -} -#endif diff --git a/lib/glcomp/glcompset.h b/lib/glcomp/glcompset.h index 91a49aa33..cbe4835f0 100644 --- a/lib/glcomp/glcompset.h +++ b/lib/glcomp/glcompset.h @@ -41,11 +41,6 @@ extern "C" { glCompObj *glCompGetObjByMouse(glCompSet * s, glCompMouse * m, int onlyClickable); extern void glCompGetObjectType(glCompObj * p); -/* - change all components's fonts in s - to sourcefont -*/ -/* void change_fonts(glCompSet * s,const texFont_t* sourcefont); */ #ifdef __cplusplus }