summaryrefslogtreecommitdiffstats
path: root/src/bltGrMarkerText.C
diff options
context:
space:
mode:
authorjoye <joye>2014-03-27 21:13:04 (GMT)
committerjoye <joye>2014-03-27 21:13:04 (GMT)
commitd16057ce9fa899aa11c3ada8c80c35a4ce6e22da (patch)
tree0fe514c263489f783ee1b8660717852da97dfa35 /src/bltGrMarkerText.C
parent9f65f5b1920f870fd136b8c0c88880268ea02713 (diff)
downloadblt-d16057ce9fa899aa11c3ada8c80c35a4ce6e22da.zip
blt-d16057ce9fa899aa11c3ada8c80c35a4ce6e22da.tar.gz
blt-d16057ce9fa899aa11c3ada8c80c35a4ce6e22da.tar.bz2
*** empty log message ***
Diffstat (limited to 'src/bltGrMarkerText.C')
-rw-r--r--src/bltGrMarkerText.C15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/bltGrMarkerText.C b/src/bltGrMarkerText.C
index 57bfdfa..09b84c2 100644
--- a/src/bltGrMarkerText.C
+++ b/src/bltGrMarkerText.C
@@ -87,7 +87,6 @@ static Tk_OptionSpec optionSpecs[] = {
static MarkerConfigProc ConfigureTextProc;
static MarkerDrawProc DrawTextProc;
-static MarkerFreeProc FreeTextProc;
static MarkerMapProc MapTextProc;
static MarkerPointProc PointInTextProc;
static MarkerPostscriptProc TextToPostscriptProc;
@@ -97,7 +96,6 @@ static MarkerClass textMarkerClass = {
optionSpecs,
ConfigureTextProc,
DrawTextProc,
- FreeTextProc,
MapTextProc,
PointInTextProc,
RegionInTextProc,
@@ -302,16 +300,3 @@ static void TextToPostscriptProc(Marker* markerPtr, Blt_Ps ps)
Blt_Ps_DrawText(ps, ops->string, &ops->style,
tmPtr->anchorPt.x, tmPtr->anchorPt.y);
}
-
-static void FreeTextProc(Marker* markerPtr)
-{
- Graph* graphPtr = markerPtr->obj.graphPtr;
- TextMarker* tmPtr = (TextMarker*)markerPtr;
- TextMarkerOptions* ops = (TextMarkerOptions*)tmPtr->ops;
-
- Blt_Ts_FreeStyle(graphPtr->display, &ops->style);
-
- if (ops)
- free(ops);
-}
-