summaryrefslogtreecommitdiffstats
path: root/src/bltGrElemOp.C
diff options
context:
space:
mode:
authorjoye <joye>2014-04-17 18:45:56 (GMT)
committerjoye <joye>2014-04-17 18:45:56 (GMT)
commite3ff80289eb0252ad0597f11867c3eef59f28dc5 (patch)
treef86c28563f2a8d2038b224ec75c4b4c9d1434231 /src/bltGrElemOp.C
parent675412c7b062450b79a5614b9d3b47e916af60b1 (diff)
downloadblt-e3ff80289eb0252ad0597f11867c3eef59f28dc5.zip
blt-e3ff80289eb0252ad0597f11867c3eef59f28dc5.tar.gz
blt-e3ff80289eb0252ad0597f11867c3eef59f28dc5.tar.bz2
*** empty log message ***
Diffstat (limited to 'src/bltGrElemOp.C')
-rw-r--r--src/bltGrElemOp.C10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/bltGrElemOp.C b/src/bltGrElemOp.C
index 1879e59..22be905 100644
--- a/src/bltGrElemOp.C
+++ b/src/bltGrElemOp.C
@@ -268,7 +268,7 @@ static int BindOp(Graph* graphPtr, Tcl_Interp* interp,
return TCL_OK;
}
- return Blt_ConfigureBindingsFromObj(interp, graphPtr->bindTable_, Blt_MakeElementTag(graphPtr, Tcl_GetString(objv[3])), objc - 4, objv + 4);
+ return Blt_ConfigureBindingsFromObj(interp, graphPtr->bindTable_, graphPtr->elementTag(Tcl_GetString(objv[3])), objc - 4, objv + 4);
}
static int ClosestOp(Graph* graphPtr, Tcl_Interp* interp,
@@ -651,11 +651,3 @@ int Blt_GetElement(Tcl_Interp* interp, Graph* graphPtr, Tcl_Obj *objPtr,
return TCL_OK;
}
-ClientData Blt_MakeElementTag(Graph* graphPtr, const char *tagName)
-{
- Tcl_HashEntry *hPtr;
- int isNew;
-
- hPtr = Tcl_CreateHashEntry(&graphPtr->elements_.tagTable, tagName, &isNew);
- return Tcl_GetHashKey(&graphPtr->elements_.tagTable, hPtr);
-}