summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2017-01-10 22:15:13 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2017-01-10 22:15:13 (GMT)
commit9f8cb308f821fa78ac29cd3fa6addb5bd7e9e823 (patch)
tree7c900984739271a2aa487f80d7840e4707f04368
parentfe0bd0662757656c456d65a46d1e1b2fb3dc09dc (diff)
downloadblt-9f8cb308f821fa78ac29cd3fa6addb5bd7e9e823.zip
blt-9f8cb308f821fa78ac29cd3fa6addb5bd7e9e823.tar.gz
blt-9f8cb308f821fa78ac29cd3fa6addb5bd7e9e823.tar.bz2
fixed USE_TK_STUBS problem with tk widget inilalization
-rw-r--r--tksao/magnifier/magnifiertrue.C5
1 files changed, 4 insertions, 1 deletions
diff --git a/tksao/magnifier/magnifiertrue.C b/tksao/magnifier/magnifiertrue.C
index c035b56..d903d5e 100644
--- a/tksao/magnifier/magnifiertrue.C
+++ b/tksao/magnifier/magnifiertrue.C
@@ -15,7 +15,7 @@ int MagnifierTrueColorCreateProc(Tcl_Interp*, Tk_Canvas, Tk_Item*, int,
// MagnifierTrueColor Specs
static Tk_CustomOption tagsOption = {
- Tk_CanvasTagsParseProc, Tk_CanvasTagsPrintProc, NULL
+ NULL, NULL, NULL
};
static Tk_ConfigSpec magnifierTrueColorSpecs[] = {
@@ -74,6 +74,9 @@ static Tk_ItemType magnifierTrueColorType = {
int MagnifierTrueColor_Init(Tcl_Interp* interp)
{
+ tagsOption.parseProc = Tk_CanvasTagsParseProc;
+ tagsOption.printProc = Tk_CanvasTagsPrintProc;
+
Tk_CreateItemType(&magnifierTrueColorType);
return TCL_OK;
}