diff options
author | nijtmans <nijtmans> | 2010-02-18 22:31:31 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2010-02-18 22:31:31 (GMT) |
commit | da7deecd72e7ddb17c8a6786f300574ee14c2ca1 (patch) | |
tree | 1238f511be6483dd179a703699b32f89de970ee1 /carbon | |
parent | 09e45d149fcc63d92f4bee4d5db56a420c67d8ad (diff) | |
download | tk-da7deecd72e7ddb17c8a6786f300574ee14c2ca1.zip tk-da7deecd72e7ddb17c8a6786f300574ee14c2ca1.tar.gz tk-da7deecd72e7ddb17c8a6786f300574ee14c2ca1.tar.bz2 |
Put all Tk_OptionSpec for buttons and labels
in const memory. With some changes to win32
and macosx, preventing direct writes to
read-only memory.
Diffstat (limited to 'carbon')
-rw-r--r-- | carbon/tkMacOSXPort.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/carbon/tkMacOSXPort.h b/carbon/tkMacOSXPort.h index ad4e81e..afc59f5 100644 --- a/carbon/tkMacOSXPort.h +++ b/carbon/tkMacOSXPort.h @@ -12,7 +12,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkMacOSXPort.h,v 1.1 2009/06/26 01:42:47 das Exp $ + * RCS: @(#) $Id: tkMacOSXPort.h,v 1.2 2010/02/18 22:31:31 nijtmans Exp $ */ #ifndef _TKMACPORT @@ -125,7 +125,7 @@ * The following functions are not used on the Mac, so we stub them out. */ -#define TkpButtonSetDefaults(specPtr) {} +#define TkpButtonSetDefaults() {} #define TkpCmapStressed(tkwin,colormap) (0) #define TkpFreeColor(tkColPtr) #define TkSetPixmapColormap(p,c) {} |