diff options
author | das <das@noemail.net> | 2003-05-13 08:41:48 (GMT) |
---|---|---|
committer | das <das@noemail.net> | 2003-05-13 08:41:48 (GMT) |
commit | 17d8dc2b6dfdb6d124bd255a9a4dfb14ed56c4df (patch) | |
tree | 084a3d727a5cfe60e8b151a045d5ef62f4e92be5 /macosx/tkMacOSXInit.c | |
parent | c17baf646a08c53be320f61db05a5f8f366f7daf (diff) | |
download | tk-17d8dc2b6dfdb6d124bd255a9a4dfb14ed56c4df.zip tk-17d8dc2b6dfdb6d124bd255a9a4dfb14ed56c4df.tar.gz tk-17d8dc2b6dfdb6d124bd255a9a4dfb14ed56c4df.tar.bz2 |
* macosx/tkMacOSXInit.c (TkpInit): use new versioned bundle
resource API to get tk runtime library for TK_VERSION. [Bug 736774]
FossilOrigin-Name: 99558556304cb0bb0145675a18e810cd0c66c903
Diffstat (limited to 'macosx/tkMacOSXInit.c')
-rw-r--r-- | macosx/tkMacOSXInit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/macosx/tkMacOSXInit.c b/macosx/tkMacOSXInit.c index 2180769..c8c9ef3 100644 --- a/macosx/tkMacOSXInit.c +++ b/macosx/tkMacOSXInit.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkMacOSXInit.c,v 1.3 2002/10/16 19:44:05 das Exp $ + * RCS: @(#) $Id: tkMacOSXInit.c,v 1.3.2.1 2003/05/13 08:41:48 das Exp $ */ #include "tkInt.h" @@ -143,8 +143,8 @@ TkpInit(interp) * FIXME: Should we come up with a more generic way of doing this? */ - result = Tcl_MacOSXOpenBundleResources(interp, "com.tcltk.tklibrary", - 1, 1024, tkLibPath); + result = Tcl_MacOSXOpenVersionedBundleResources(interp, + "com.tcltk.tklibrary", TK_VERSION, 1, 1024, tkLibPath); if (result != TCL_ERROR) { Tcl_SetVar(interp, "tk_library", tkLibPath, TCL_GLOBAL_ONLY); |