From: Matthew Fernandez Date: Sat, 5 Jun 2021 23:59:16 +0000 (-0700) Subject: remove unused glCompImageDoubleClick X-Git-Tag: 2.47.3~7^2~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9821f13cc5c51c240cfc55dfe7eb5b569a3f57c2;p=graphviz remove unused glCompImageDoubleClick --- diff --git a/lib/glcomp/glcompimage.c b/lib/glcomp/glcompimage.c index 301dd7eca..8c85bd522 100644 --- a/lib/glcomp/glcompimage.c +++ b/lib/glcomp/glcompimage.c @@ -147,14 +147,6 @@ void glCompImageDraw(void *obj) } -void glCompImageDoubleClick(glCompObj * obj, GLfloat x, GLfloat y, - glMouseButtonType t) -{ - /*Put your internal code here */ - if (((glCompImage *) obj)->common.callbacks.doubleclick) - ((glCompImage *) obj)->common.callbacks.doubleclick(obj, x, y, t); -} - void glCompImageMouseDown(glCompObj * obj, GLfloat x, GLfloat y, glMouseButtonType t) { diff --git a/lib/glcomp/glcompimage.h b/lib/glcomp/glcompimage.h index 419b8cd5a..5b8925215 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 glCompImageDoubleClick(glCompObj * obj, GLfloat x, - GLfloat y, glMouseButtonType t); extern void glCompImageMouseDown(glCompObj * obj, GLfloat x, GLfloat y, glMouseButtonType t); extern void glCompImageMouseIn(glCompObj * obj, GLfloat x, GLfloat y);