]> granicus.if.org Git - graphviz/commitdiff
remove unused glCompLabelDoubleClick
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 2 Jun 2021 03:11:09 +0000 (20:11 -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 ddbac7f1903c33000e40c2153b07e4e0b9a0c39d..72d4870c0ceb4a069899caf7101a3eb9bd6359a6 100644 (file)
@@ -86,14 +86,6 @@ void glCompLabelSetFontName(glCompLabel * p, char* fontName)
     update_font(p,p->text,fontName,temp->size);
 }
 
-void glCompLabelDoubleClick(glCompObj * obj, GLfloat x, GLfloat y,
-                           glMouseButtonType t)
-{
-    /*Put your internal code here */
-    if (((glCompLabel *) obj)->common.callbacks.doubleclick)
-       ((glCompLabel *) obj)->common.callbacks.doubleclick(obj, x, y, t);
-}
-
 void glCompLabelMouseDown(glCompObj * obj, GLfloat x, GLfloat y,
                          glMouseButtonType t)
 {
index cdf09385ea7c7dc8cd10dbd9c31a6c9c8ea18031..67590fa9ddefb190a9f50bab9d049b66f1392572 100644 (file)
@@ -21,8 +21,6 @@ extern "C" {
 
 /*events*/
     extern int glCompLabelDraw(glCompLabel * p);
-    extern void glCompLabelDoubleClick(glCompObj * obj, GLfloat x,
-                                      GLfloat y, glMouseButtonType t);
     extern void glCompLabelMouseDown(glCompObj * obj, GLfloat x, GLfloat y,
                                     glMouseButtonType t);
     extern void glCompLabelMouseIn(glCompObj * obj, GLfloat x, GLfloat y);