]> granicus.if.org Git - graphviz/commitdiff
remove unused glCompLabelSetText
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 2 Jun 2021 03:14:24 +0000 (20:14 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 5 Jun 2021 17:03:35 +0000 (10:03 -0700)
lib/glcomp/glcomplabel.c
lib/glcomp/glcomplabel.h

index 03990e5177a2e9378eebc8bb9f4e6a3aa69ff5fe..f7448fc2cf4ae44daa042aeb68d704973f6323d1 100644 (file)
@@ -70,11 +70,6 @@ static void update_font(glCompLabel * p,char* text,char* desc,int fs)
 
 }
 
-void glCompLabelSetText(glCompLabel * p, char *text)
-{
-    glCompFont* temp=p->common.font;
-    update_font(p,text,temp->fontdesc,temp->size);
-}
 void glCompLabelSetFontSize(glCompLabel * p, int size)
 {
     glCompFont* temp=p->common.font;
index 6685826b6bd635ad1be47924e5adce953163dfcb..bb63b4b82e39e55370af2297ffcce4bc9ad1e425 100644 (file)
@@ -22,7 +22,6 @@ extern "C" {
 /*events*/
     extern int glCompLabelDraw(glCompLabel * p);
 
-    extern void glCompLabelSetText(glCompLabel * p, char *text);
     extern void glCompLabelSetFontSize(glCompLabel * p, int size);
     extern void glCompLabelSetFontName(glCompLabel * p, char* fontName);