summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorjoye <joye>2013-09-09 21:07:51 (GMT)
committerjoye <joye>2013-09-09 21:07:51 (GMT)
commit33e6d8d6c83a10f3a4bb5a32a944cd15e1524d54 (patch)
tree961435462a0e56dbb28274040c4aff9cbc89e622 /src
parent3eae099de0827ab3c7146b33cb53e99d06349f21 (diff)
downloadblt-33e6d8d6c83a10f3a4bb5a32a944cd15e1524d54.zip
blt-33e6d8d6c83a10f3a4bb5a32a944cd15e1524d54.tar.gz
blt-33e6d8d6c83a10f3a4bb5a32a944cd15e1524d54.tar.bz2
*** empty log message ***
Diffstat (limited to 'src')
-rw-r--r--src/bltGrElemOp.C34
-rw-r--r--src/bltGrElemOp.h1
-rw-r--r--src/bltGraph.C2
3 files changed, 0 insertions, 37 deletions
diff --git a/src/bltGrElemOp.C b/src/bltGrElemOp.C
index d496533..b95733b 100644
--- a/src/bltGrElemOp.C
+++ b/src/bltGrElemOp.C
@@ -39,10 +39,6 @@
/* Ignore elements that aren't in the display list or have been deleted. */
#define IGNORE_ELEMENT(e) (((e)->link == NULL) || ((e)->flags & DELETE_PENDING))
-typedef struct {
- int refCount;
-} TableClient;
-
static Blt_OptionParseProc ObjToAlong;
static Blt_OptionPrintProc AlongToObj;
static Blt_CustomOption alongOption =
@@ -90,36 +86,6 @@ typedef int (GraphElementProc)(Graph *graphPtr, Tcl_Interp *interp, int objc,
/*
*---------------------------------------------------------------------------
- *
- * Blt_DestroyTableClients --
- *
- *---------------------------------------------------------------------------
- */
-/* ARGSUSED */
-void
-Blt_DestroyTableClients(Graph *graphPtr)
-{
- Blt_HashEntry *hPtr;
- Blt_HashSearch iter;
-
- for (hPtr = Blt_FirstHashEntry(&graphPtr->dataTables, &iter);
- hPtr != NULL; hPtr = Blt_NextHashEntry(&iter)) {
- TableClient *clientPtr;
-
- clientPtr = Blt_GetHashValue(hPtr);
- /*
- if (clientPtr->table != NULL) {
- Blt_Table_Close(clientPtr->table);
- }
- */
- free(clientPtr);
- }
- Blt_DeleteHashTable(&graphPtr->dataTables);
-}
-
-
-/*
- *---------------------------------------------------------------------------
* Custom option parse and print procedures
*---------------------------------------------------------------------------
*/
diff --git a/src/bltGrElemOp.h b/src/bltGrElemOp.h
index e84d343..012e071 100644
--- a/src/bltGrElemOp.h
+++ b/src/bltGrElemOp.h
@@ -247,6 +247,5 @@ extern void Blt_MapErrorBars(Graph *graphPtr, Element *elemPtr,
extern void Blt_FreeDataValues(ElemValues *evPtr);
extern int Blt_GetElement(Tcl_Interp *interp, Graph *graphPtr,
Tcl_Obj *objPtr, Element **elemPtrPtr);
-extern void Blt_DestroyTableClients(Graph *graphPtr);
#endif /* _BLT_GR_ELEM_H */
diff --git a/src/bltGraph.C b/src/bltGraph.C
index eb28b28..012bae0 100644
--- a/src/bltGraph.C
+++ b/src/bltGraph.C
@@ -797,8 +797,6 @@ static void DestroyGraph(char* dataPtr)
Blt_DestroyCrosshairs(graphPtr);
Blt_DestroyPageSetup(graphPtr);
Blt_DestroyBarSets(graphPtr);
- /* Destroy table clients after elements are destroyed. */
- Blt_DestroyTableClients(graphPtr);
if (graphPtr->bindTable != NULL) {
Blt_DestroyBindingTable(graphPtr->bindTable);
}