summaryrefslogtreecommitdiffstats
path: root/mac/tkMacBitmap.c
diff options
context:
space:
mode:
authorjingham <jingham>1999-05-22 06:32:05 (GMT)
committerjingham <jingham>1999-05-22 06:32:05 (GMT)
commit87879697e380ae2d912df100241a6a4b85ac01a1 (patch)
treea77d9e8604d5260d187c18e7fa29939278ab0f32 /mac/tkMacBitmap.c
parent36f3e6e9af15906c7d459a8c80ee9f4e995b59f6 (diff)
downloadtk-87879697e380ae2d912df100241a6a4b85ac01a1.zip
tk-87879697e380ae2d912df100241a6a4b85ac01a1.tar.gz
tk-87879697e380ae2d912df100241a6a4b85ac01a1.tar.bz2
Changes needed to get Tk8.1 to compile with stubs on the Mac
Diffstat (limited to 'mac/tkMacBitmap.c')
-rw-r--r--mac/tkMacBitmap.c6
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)
{