]> granicus.if.org Git - graphviz/commitdiff
remove commented out change_fonts
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 19 May 2021 03:02:26 +0000 (20:02 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 29 May 2021 01:51:23 +0000 (18:51 -0700)
lib/glcomp/glcompset.c
lib/glcomp/glcompset.h

index 0ee06613197dc08c5634423f29739e6e645d63d7..8034927ac8287201157a582c396e9b5b2f511c3a 100644 (file)
@@ -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
index 91a49aa336b682c0f3d9e33946e59125066d2092..cbe4835f051f801c9451c66b2b322478cc9dd339 100644 (file)
@@ -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
 }