v->refresh.selection = 1;
}
-static void doApply(int doAll)
+static void doApply(void)
{
char *attr_name;
char *value;
/*nodes */
else if (objKind == AGNODE) {
for (v = agfstnode(g); v; v = agnxtnode(g, v)) {
- if (doAll || ND_selected(v))
+ if (ND_selected(v))
agxset(v, sym, value);
}
}
else if (objKind == AGEDGE) {
for (v = agfstnode(g); v; v = agnxtnode(g, v)) {
for (e = agfstout(g, v); e; e = agnxtout(g, e)) {
- if (doAll || ED_selected(e))
+ if (ED_selected(e))
agxset(e, sym, value);
}
}
(void)widget;
(void)user_data;
- doApply(0);
+ doApply();
}
/* This is the action attached to the publish button on the attributes