From: Matthew Fernandez Date: Sat, 5 Jun 2021 23:58:44 +0000 (-0700) Subject: remove unused glCompImageClick X-Git-Tag: 2.47.3~7^2~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=30b64491055f5462f18da0d81c9e7c25b5e428f4;p=graphviz remove unused glCompImageClick --- diff --git a/lib/glcomp/glcompimage.c b/lib/glcomp/glcompimage.c index a325175ab..301dd7eca 100644 --- a/lib/glcomp/glcompimage.c +++ b/lib/glcomp/glcompimage.c @@ -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) { diff --git a/lib/glcomp/glcompimage.h b/lib/glcomp/glcompimage.h index 7e6151ea4..419b8cd5a 100644 --- a/lib/glcomp/glcompimage.h +++ b/lib/glcomp/glcompimage.h @@ -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,