diff options
Diffstat (limited to 'src/bltGrPenOp.C')
-rw-r--r-- | src/bltGrPenOp.C | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/bltGrPenOp.C b/src/bltGrPenOp.C index 5fd0b95..d073560 100644 --- a/src/bltGrPenOp.C +++ b/src/bltGrPenOp.C @@ -274,17 +274,6 @@ int Blt_PenOp(Graph* graphPtr, Tcl_Interp* interp, // Support -void Blt_DestroyPens(Graph* graphPtr) -{ - Tcl_HashSearch iter; - for (Tcl_HashEntry *hPtr = Tcl_FirstHashEntry(&graphPtr->penTable_, &iter); - hPtr != NULL; hPtr = Tcl_NextHashEntry(&iter)) { - Pen* penPtr = (Pen*)Tcl_GetHashValue(hPtr); - delete penPtr; - } - Tcl_DeleteHashTable(&graphPtr->penTable_); -} - void Blt_FreePen(Pen* penPtr) { if (penPtr != NULL) { |