]> granicus.if.org Git - graphviz/commitdiff
smyrna: remove unused 'visibility' refresh filter field
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 7 Nov 2021 00:06:49 +0000 (17:06 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 10 Nov 2021 03:50:54 +0000 (19:50 -0800)
cmd/smyrna/gui/frmobjectui.c
cmd/smyrna/smyrnadefs.h
cmd/smyrna/viewport.c

index baba72c8803ead4f3446dc6e14122be0c0837b2d..2c6488d5f888ed480b1fd84d97338fc4a335e3ee 100644 (file)
@@ -463,9 +463,6 @@ static void set_refresh_filters(ViewInfo * v, int type, char *name)
        v->refresh.nodesize = 1;
     if (strcasecmp(name, "selected") == 0)
        v->refresh.selection = 1;
-    if (strcasecmp(name, "visible") == 0)
-       v->refresh.visibility = 1;
-
 }
 
 static void doApply (GtkWidget * widget, int doAll)
index da4b41d78164b734afe87dd3ed36da300a078e5b..b68d0329a642e6ec42d2c4f5a447cb5ff0f7a708 100644 (file)
@@ -156,7 +156,6 @@ typedef struct
        int color;
        int pos;
        int selection;
-       int visibility;
        int nodesize;
 
 
index ac9601c484f2821b835ace686cb916d58d53c8a7..f23b91477e79ccc3f9c5111e6532bc2861369f60 100644 (file)
@@ -403,7 +403,6 @@ void init_viewport(ViewInfo * view)
     view->refresh.color=1;
     view->refresh.pos=1;
     view->refresh.selection=1;
-    view->refresh.visibility=1;
     view->refresh.nodesize=1;
     view->edgerendertype=0;
     if(view->guiMode!=GUI_FULLSCREEN)
@@ -508,7 +507,6 @@ void refreshViewport(int doClear)
     view->refresh.nodesize=1;
     view->refresh.pos=1;
     view->refresh.selection=1;
-    view->refresh.visibility=1;
     load_settings_from_graph(graph);
 
     if(view->guiMode!=GUI_FULLSCREEN)