diff options
author | das <das@noemail.net> | 2003-05-13 08:40:57 (GMT) |
---|---|---|
committer | das <das@noemail.net> | 2003-05-13 08:40:57 (GMT) |
commit | 1c13284299f1717e8338d220c724728909aa7184 (patch) | |
tree | 5898a3b0ebc3e8e21a61e13760292a19cc7bc5bf /macosx/tkMacOSXInit.c | |
parent | b8763f99dc5417a7d733bb6cb9ca139b8704bece (diff) | |
download | tk-1c13284299f1717e8338d220c724728909aa7184.zip tk-1c13284299f1717e8338d220c724728909aa7184.tar.gz tk-1c13284299f1717e8338d220c724728909aa7184.tar.bz2 |
* macosx/tkMacOSXInit.c (TkpInit): use new versioned bundle
resource API to get tk runtime library for TK_VERSION. [Bug 736774]
FossilOrigin-Name: a1685825860db422fa3615ad8e864467770ae586
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..babd977 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.4 2003/05/13 08:40:58 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); |