From: Matthew Fernandez Date: Wed, 2 Jun 2021 03:14:24 +0000 (-0700) Subject: remove unused glCompLabelSetText X-Git-Tag: 2.47.3~12^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4a8c01b94d41e57cb991b6b45699f7f7d0beeec1;p=graphviz remove unused glCompLabelSetText --- diff --git a/lib/glcomp/glcomplabel.c b/lib/glcomp/glcomplabel.c index 03990e517..f7448fc2c 100644 --- a/lib/glcomp/glcomplabel.c +++ b/lib/glcomp/glcomplabel.c @@ -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; diff --git a/lib/glcomp/glcomplabel.h b/lib/glcomp/glcomplabel.h index 6685826b6..bb63b4b82 100644 --- a/lib/glcomp/glcomplabel.h +++ b/lib/glcomp/glcomplabel.h @@ -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);