From: Matthew Fernandez Date: Wed, 2 Jun 2021 03:10:39 +0000 (-0700) Subject: remove unused glCompLabelClick X-Git-Tag: 2.47.3~12^2~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bbae24ae0a9b2934844603ab31046227fee91e8f;p=graphviz remove unused glCompLabelClick --- diff --git a/lib/glcomp/glcomplabel.c b/lib/glcomp/glcomplabel.c index 5a7dcbbc2..ddbac7f19 100644 --- a/lib/glcomp/glcomplabel.c +++ b/lib/glcomp/glcomplabel.c @@ -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) { diff --git a/lib/glcomp/glcomplabel.h b/lib/glcomp/glcomplabel.h index 9df1b5f48..cdf09385e 100644 --- a/lib/glcomp/glcomplabel.h +++ b/lib/glcomp/glcomplabel.h @@ -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,