]> granicus.if.org Git - graphviz/commitdiff
remove unused glCompImageClick
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 5 Jun 2021 23:58:44 +0000 (16:58 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 9 Jun 2021 03:13:25 +0000 (20:13 -0700)
lib/glcomp/glcompimage.c
lib/glcomp/glcompimage.h

index a325175abddba83bdc4810549070d3bdf2dcd086..301dd7eca43218615b2db282dd63cb99f64fa96f 100644 (file)
@@ -147,13 +147,6 @@ void glCompImageDraw(void *obj)
 
 }
 
-void glCompImageClick(glCompObj * o, GLfloat x, GLfloat y,
-                     glMouseButtonType t)
-{
-    if (o->common.callbacks.click)
-       o->common.callbacks.click(o, x, y, t);
-}
-
 void glCompImageDoubleClick(glCompObj * obj, GLfloat x, GLfloat y,
                            glMouseButtonType t)
 {
index 7e6151ea48a1db7e148435ba99ed5609b3c6784d..419b8cd5a369f43a27699620f0e91e8145b3fe02 100644 (file)
@@ -25,8 +25,6 @@ extern "C" {
                               int width, int height,int is2D);
     extern int glCompImageLoadPng(glCompImage * i, char *pngFile,int is2D);
     extern void glCompImageDraw(void *obj);
-    extern void glCompImageClick(glCompObj * o, GLfloat x, GLfloat y,
-                                glMouseButtonType t);
     extern void glCompImageDoubleClick(glCompObj * obj, GLfloat x,
                                       GLfloat y, glMouseButtonType t);
     extern void glCompImageMouseDown(glCompObj * obj, GLfloat x, GLfloat y,