diff options
author | jingham <jingham@noemail.net> | 1999-05-22 06:32:05 (GMT) |
---|---|---|
committer | jingham <jingham@noemail.net> | 1999-05-22 06:32:05 (GMT) |
commit | e2c54976a8f3eeb86c2fcd2a7444078c753c93bf (patch) | |
tree | a77d9e8604d5260d187c18e7fa29939278ab0f32 /mac/tkMacBitmap.c | |
parent | 87fbf03d7e3f41f571f3517d3bcb38372f17c969 (diff) | |
download | tk-e2c54976a8f3eeb86c2fcd2a7444078c753c93bf.zip tk-e2c54976a8f3eeb86c2fcd2a7444078c753c93bf.tar.gz tk-e2c54976a8f3eeb86c2fcd2a7444078c753c93bf.tar.bz2 |
Changes needed to get Tk8.1 to compile with stubs on the Mac
FossilOrigin-Name: a0da3de4bd828c21c7e3741077151772dfed94f3
Diffstat (limited to 'mac/tkMacBitmap.c')
-rw-r--r-- | mac/tkMacBitmap.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/mac/tkMacBitmap.c b/mac/tkMacBitmap.c index 0b71837..e434c26 100644 --- a/mac/tkMacBitmap.c +++ b/mac/tkMacBitmap.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: tkMacBitmap.c,v 1.3 1999/04/16 01:51:29 stanton Exp $ + * RCS: @(#) $Id: tkMacBitmap.c,v 1.4 1999/05/22 06:32:12 jingham Exp $ */ #include "tkPort.h" @@ -101,8 +101,6 @@ TkpDefineNativeBitmaps() BuiltInIcon *builtInPtr; NativeIcon *nativeIconPtr; Tcl_HashTable *tablePtr; - ThreadSpecificData *tsdPtr = (ThreadSpecificData *) - Tcl_GetThreadData(&dataKey, sizeof(ThreadSpecificData)); for (builtInPtr = builtInIcons; builtInPtr->name != NULL; builtInPtr++) { name = Tk_GetUid(builtInPtr->name); @@ -204,7 +202,7 @@ TkpCreateNativeBitmap( Pixmap TkpGetNativeAppBitmap( Display *display, /* The display. */ - char *name, /* The name of the bitmap. */ + CONST char *name, /* The name of the bitmap. */ int *width, /* The width & height of the bitmap. */ int *height) { |