diff options
author | jenglish <jenglish@flightlab.com> | 2010-06-19 16:18:41 (GMT) |
---|---|---|
committer | jenglish <jenglish@flightlab.com> | 2010-06-19 16:18:41 (GMT) |
commit | 8b0817c5ff3553c35d243c6ed17108fb423971ee (patch) | |
tree | 88d4cf68e248e4be1f4424bb9afa3e7e44af11ce /generic/tkStubInit.c | |
parent | 98ae8ed60e6b422c5f03a5f5721362a4d3fda243 (diff) | |
download | tk-8b0817c5ff3553c35d243c6ed17108fb423971ee.zip tk-8b0817c5ff3553c35d243c6ed17108fb423971ee.tar.gz tk-8b0817c5ff3553c35d243c6ed17108fb423971ee.tar.bz2 |
[Patch 3009998]: Replace binding procedures with ordinary event handlers
in win/tkWinScrlbr.c and carbon/tkMacOSXScrlbr.c.
Simplifications enabled by previous change:
* TkCreateBindingProcedure() and associated machinery no longer needed.
* TkBindDeadWindow() no longer needed.
* TK_DEFER_MODAL_LOOP and associated machinery no longer needed.
* Tests related to C binding procedures no longer needed.
Diffstat (limited to 'generic/tkStubInit.c')
-rw-r--r-- | generic/tkStubInit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkStubInit.c b/generic/tkStubInit.c index 92925c2..af5beed 100644 --- a/generic/tkStubInit.c +++ b/generic/tkStubInit.c @@ -8,7 +8,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkStubInit.c,v 1.73 2010/02/16 21:12:56 nijtmans Exp $ + * RCS: @(#) $Id: tkStubInit.c,v 1.74 2010/06/19 16:18:41 jenglish Exp $ */ #include "tkInt.h" @@ -57,7 +57,7 @@ static const TkIntStubs tkIntStubs = { TkAllocWindow, /* 0 */ TkBezierPoints, /* 1 */ TkBezierScreenPoints, /* 2 */ - TkBindDeadWindow, /* 3 */ + NULL, /* 3 */ TkBindEventProc, /* 4 */ TkBindFree, /* 5 */ TkBindInit, /* 6 */ @@ -65,7 +65,7 @@ static const TkIntStubs tkIntStubs = { TkClipInit, /* 8 */ TkComputeAnchor, /* 9 */ TkCopyAndGlobalEval, /* 10 */ - TkCreateBindingProcedure, /* 11 */ + NULL, /* 11 */ TkCreateCursorFromData, /* 12 */ TkCreateFrame, /* 13 */ TkCreateMainWindow, /* 14 */ |