diff options
author | nijtmans <nijtmans> | 2010-02-16 21:12:56 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2010-02-16 21:12:56 (GMT) |
commit | 98ad94bf967f4567ae47c4b74ffe11cc12f7d22f (patch) | |
tree | b566e3894b84ff71cec41746404929097ffb61c6 /generic/tkStubInit.c | |
parent | 759424b1be09259bf20d269efd93af21c5150a01 (diff) | |
download | tk-98ad94bf967f4567ae47c4b74ffe11cc12f7d22f.zip tk-98ad94bf967f4567ae47c4b74ffe11cc12f7d22f.tar.gz tk-98ad94bf967f4567ae47c4b74ffe11cc12f7d22f.tar.bz2 |
tkWindow.c/tkStubInit.c adapted from stub changes in Tcl
tkArgv.c make defaultTable const
tkScrollbar.c Store default for "-with" in static non-const memory
tkWinInt.h make tkWinProcs const, and 5
tkWinX.c procs MODULE_SCOPE
tkWinColor.c make sysColors const
tkWinKey.c make keymap const
tkWinScrlbr.c Simplify copying of "-with" default value.
tkUnixWm.c make TkSetTransientFor static
tests/textImage.test textImage-1.13 depends on hash-order
Diffstat (limited to 'generic/tkStubInit.c')
-rw-r--r-- | generic/tkStubInit.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/generic/tkStubInit.c b/generic/tkStubInit.c index dae166d..92925c2 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.72 2010/02/05 22:45:03 nijtmans Exp $ + * RCS: @(#) $Id: tkStubInit.c,v 1.73 2010/02/16 21:12:56 nijtmans Exp $ */ #include "tkInt.h" @@ -47,11 +47,11 @@ * below should be made in the generic/tk.decls script. */ -MODULE_SCOPE const TkStubs tkConstStubs; +MODULE_SCOPE const TkStubs tkStubs; /* !BEGIN!: Do not edit below this line. */ -static const TkIntStubs tkIntConstStubs = { +static const TkIntStubs tkIntStubs = { TCL_STUB_MAGIC, NULL, TkAllocWindow, /* 0 */ @@ -336,7 +336,7 @@ static const TkIntStubs tkIntConstStubs = { TkSmoothPrintProc, /* 180 */ }; -static const TkIntPlatStubs tkIntPlatConstStubs = { +static const TkIntPlatStubs tkIntPlatStubs = { TCL_STUB_MAGIC, NULL, #ifdef __WIN32__ /* WIN */ @@ -452,7 +452,7 @@ static const TkIntPlatStubs tkIntPlatConstStubs = { #endif /* X11 */ }; -static const TkIntXlibStubs tkIntXlibConstStubs = { +static const TkIntXlibStubs tkIntXlibStubs = { TCL_STUB_MAGIC, NULL, #ifdef __WIN32__ /* WIN */ @@ -660,7 +660,7 @@ static const TkIntXlibStubs tkIntXlibConstStubs = { #endif /* AQUA */ }; -static const TkPlatStubs tkPlatConstStubs = { +static const TkPlatStubs tkPlatStubs = { TCL_STUB_MAGIC, NULL, #ifdef __WIN32__ /* WIN */ @@ -687,13 +687,13 @@ static const TkPlatStubs tkPlatConstStubs = { }; static const TkStubHooks tkStubHooks = { - &tkPlatConstStubs, - &tkIntConstStubs, - &tkIntPlatConstStubs, - &tkIntXlibConstStubs + &tkPlatStubs, + &tkIntStubs, + &tkIntPlatStubs, + &tkIntXlibStubs }; -const TkStubs tkConstStubs = { +const TkStubs tkStubs = { TCL_STUB_MAGIC, &tkStubHooks, Tk_MainLoop, /* 0 */ |