]> granicus.if.org Git - graphviz/commitdiff
remove unused glCompLabelSetFontSize
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 2 Jun 2021 03:14:50 +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 f7448fc2cf4ae44daa042aeb68d704973f6323d1..589b2eabe763122fcd03e3b144b5b9a348fd0fc1 100644 (file)
@@ -70,11 +70,6 @@ static void update_font(glCompLabel * p,char* text,char* desc,int fs)
 
 }
 
-void glCompLabelSetFontSize(glCompLabel * p, int size)
-{
-    glCompFont* temp=p->common.font;
-    update_font(p,p->text,temp->fontdesc,size);
-}
 void glCompLabelSetFontName(glCompLabel * p, char* fontName)
 {
     glCompFont* temp=p->common.font;
index bb63b4b82e39e55370af2297ffcce4bc9ad1e425..0d3251abbac42efe11b4495921d9879b4a16bfaf 100644 (file)
@@ -22,7 +22,6 @@ extern "C" {
 /*events*/
     extern int glCompLabelDraw(glCompLabel * p);
 
-    extern void glCompLabelSetFontSize(glCompLabel * p, int size);
     extern void glCompLabelSetFontName(glCompLabel * p, char* fontName);
 
 #ifdef __cplusplus