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

index 5a7dcbbc21c53096c535595ea8d5de17718016de..ddbac7f1903c33000e40c2153b07e4e0b9a0c39d 100644 (file)
@@ -86,14 +86,6 @@ void glCompLabelSetFontName(glCompLabel * p, char* fontName)
     update_font(p,p->text,fontName,temp->size);
 }
 
-
-void glCompLabelClick(glCompObj * o, GLfloat x, GLfloat y,
-                     glMouseButtonType t)
-{
-    if (o->common.callbacks.click)
-       o->common.callbacks.click(o, x, y, t);
-}
-
 void glCompLabelDoubleClick(glCompObj * obj, GLfloat x, GLfloat y,
                            glMouseButtonType t)
 {
index 9df1b5f48ca9e06c552d1d8e6d657d4d67a4af78..cdf09385ea7c7dc8cd10dbd9c31a6c9c8ea18031 100644 (file)
@@ -21,8 +21,6 @@ extern "C" {
 
 /*events*/
     extern int glCompLabelDraw(glCompLabel * p);
-    extern void glCompLabelClick(glCompObj * o, GLfloat x, GLfloat y,
-                                glMouseButtonType t);
     extern void glCompLabelDoubleClick(glCompObj * obj, GLfloat x,
                                       GLfloat y, glMouseButtonType t);
     extern void glCompLabelMouseDown(glCompObj * obj, GLfloat x, GLfloat y,