summaryrefslogtreecommitdiffstats
path: root/bltGrMarkerBitmap.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 /bltGrMarkerBitmap.C
parent9f65f5b1920f870fd136b8c0c88880268ea02713 (diff)
downloadblt-d16057ce9fa899aa11c3ada8c80c35a4ce6e22da.zip
blt-d16057ce9fa899aa11c3ada8c80c35a4ce6e22da.tar.gz
blt-d16057ce9fa899aa11c3ada8c80c35a4ce6e22da.tar.bz2
*** empty log message ***
Diffstat (limited to 'bltGrMarkerBitmap.C')
-rw-r--r--bltGrMarkerBitmap.C19
1 files changed, 0 insertions, 19 deletions
diff --git a/bltGrMarkerBitmap.C b/bltGrMarkerBitmap.C
index 346030a..92e5640 100644
--- a/bltGrMarkerBitmap.C
+++ b/bltGrMarkerBitmap.C
@@ -83,7 +83,6 @@ static Tk_OptionSpec optionSpecs[] = {
static MarkerConfigProc ConfigureBitmapProc;
static MarkerDrawProc DrawBitmapProc;
-static MarkerFreeProc FreeBitmapProc;
static MarkerMapProc MapBitmapProc;
static MarkerPointProc PointInBitmapProc;
static MarkerPostscriptProc BitmapToPostscriptProc;
@@ -93,7 +92,6 @@ static MarkerClass bitmapMarkerClass = {
optionSpecs,
ConfigureBitmapProc,
DrawBitmapProc,
- FreeBitmapProc,
MapBitmapProc,
PointInBitmapProc,
RegionInBitmapProc,
@@ -319,20 +317,3 @@ static void BitmapToPostscriptProc(Marker* markerPtr, Blt_Ps ps)
" } imagemask\n",
"grestore\n", (char*)NULL);
}
-
-static void FreeBitmapProc(Marker* markerPtr)
-{
- Graph* graphPtr = markerPtr->obj.graphPtr;
- BitmapMarker* bmPtr = (BitmapMarker*)markerPtr;
- BitmapMarkerOptions* ops = (BitmapMarkerOptions*)bmPtr->ops;
-
- if (bmPtr->gc)
- Tk_FreeGC(graphPtr->display, bmPtr->gc);
-
- if (bmPtr->fillGC)
- Tk_FreeGC(graphPtr->display, bmPtr->fillGC);
-
- if (ops)
- free(ops);
-}
-