diff options
author | dkf <dkf@noemail.net> | 2012-07-23 13:59:40 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2012-07-23 13:59:40 (GMT) |
commit | db0b8cc05b59328e7eacfb833b975f732be99327 (patch) | |
tree | 46a3064598e4a36c7ca561f9c08f5d22de4b2b9e /generic/tkMessage.c | |
parent | 0818005fbf7d6865ab4bdd2c4f2e6695d821823a (diff) | |
download | tk-db0b8cc05b59328e7eacfb833b975f732be99327.zip tk-db0b8cc05b59328e7eacfb833b975f732be99327.tar.gz tk-db0b8cc05b59328e7eacfb833b975f732be99327.tar.bz2 |
Much more cleaning up of result handling.
FossilOrigin-Name: 016ad9dac31d39cbc9ded6a6e8e75c11618318a8
Diffstat (limited to 'generic/tkMessage.c')
-rw-r--r-- | generic/tkMessage.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkMessage.c b/generic/tkMessage.c index 0787efc..4779e00 100644 --- a/generic/tkMessage.c +++ b/generic/tkMessage.c @@ -191,8 +191,8 @@ static void DisplayMessage(ClientData clientData); static const Tk_ClassProcs messageClass = { sizeof(Tk_ClassProcs), /* size */ MessageWorldChanged, /* worldChangedProc */ - NULL, /* createProc */ - NULL /* modalProc */ + NULL, /* createProc */ + NULL /* modalProc */ }; /* @@ -277,7 +277,7 @@ Tk_MessageObjCmd( return TCL_ERROR; } - Tcl_SetResult(interp, Tk_PathName(msgPtr->tkwin), TCL_STATIC); + Tcl_SetObjResult(interp, TkNewWindowObj(msgPtr->tkwin)); return TCL_OK; } |