]> granicus.if.org Git - graphviz/commitdiff
smyrna: remove unused 'nodeshape' field and 'node_shape' type
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 14 Oct 2021 02:49:15 +0000 (19:49 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 20 Oct 2021 23:59:04 +0000 (16:59 -0700)
The member `nodshapedot` also seems to have been misspelled, but never used
anyway, so oh well.

cmd/smyrna/smyrnadefs.h

index 11faa4dd76ec673cdf38669d731d24d171d2b96b..75711d65a9a17078646ed53c84ba435864d8481f 100644 (file)
@@ -102,7 +102,6 @@ typedef struct
 }attr_list;
 
 
-    typedef enum { nodshapedot, nodeshapecircle } node_shape;
     typedef enum { leftmousebutton, rightmousebutton,
            thirdmousebutton } clicked_mouse_button;
     typedef enum { MOUSE_ROTATE_X, MOUSE_ROTATE_Y, MOUSE_ROTATE_XY,
@@ -601,8 +600,6 @@ typedef struct
 
        /*0 advanced users with editing options 1 nonice users just navigate (glmenu system) */
        int topviewusermode;
-       /*this should not be confused with graphviz node shapes, it can be dot or circles (dots are rendered mych faster, circle looks handsome, if graph is ulta large go with dot */
-//      node_shape nodeshape;
 
        /*open gl canvas, used to be a globa variable before looks better wrapped in viewinfo */
        GtkWidget *drawing_area;