From: Matthew Fernandez Date: Sun, 7 Nov 2021 00:06:49 +0000 (-0700) Subject: smyrna: remove unused 'visibility' refresh filter field X-Git-Tag: 2.50.0~40^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a04b663e4f3d2aa94607cb8375440624cddb95b0;p=graphviz smyrna: remove unused 'visibility' refresh filter field --- diff --git a/cmd/smyrna/gui/frmobjectui.c b/cmd/smyrna/gui/frmobjectui.c index baba72c88..2c6488d5f 100644 --- a/cmd/smyrna/gui/frmobjectui.c +++ b/cmd/smyrna/gui/frmobjectui.c @@ -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) diff --git a/cmd/smyrna/smyrnadefs.h b/cmd/smyrna/smyrnadefs.h index da4b41d78..b68d0329a 100644 --- a/cmd/smyrna/smyrnadefs.h +++ b/cmd/smyrna/smyrnadefs.h @@ -156,7 +156,6 @@ typedef struct int color; int pos; int selection; - int visibility; int nodesize; diff --git a/cmd/smyrna/viewport.c b/cmd/smyrna/viewport.c index ac9601c48..f23b91477 100644 --- a/cmd/smyrna/viewport.c +++ b/cmd/smyrna/viewport.c @@ -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)