]> granicus.if.org Git - graphviz/commitdiff
remove commented out code in glCompLabelNew
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 2 Jun 2021 03:16:24 +0000 (20:16 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 5 Jun 2021 17:03:35 +0000 (10:03 -0700)
lib/glcomp/glcomplabel.c

index 326900a2c9d91a71adb4a375422f259b894e77cf..ac956b35b81618d462d6b939a6d0406e64219a34 100644 (file)
@@ -18,12 +18,10 @@ glCompLabel *glCompLabelNew(glCompObj * par, GLfloat x, GLfloat y,
                            char *text)
 {
     glCompLabel *p;
-//      glCompCommon* parent=&par->common;
     p = NEW(glCompLabel);
     glCompInitCommon((glCompObj *) p, par, x, y);
     p->objType = glLabelObj;
     p->transparent=1;
-    //typedef enum {glPanelObj,glbuttonObj,glLabelObj,glImageObj}glObjType;
 
     p->text = strdup(text);
     p->common.font = glNewFontFromParent ((glCompObj*)p, text);