summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixPort.h
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-02-18 22:31:31 (GMT)
committernijtmans <nijtmans>2010-02-18 22:31:31 (GMT)
commitda7deecd72e7ddb17c8a6786f300574ee14c2ca1 (patch)
tree1238f511be6483dd179a703699b32f89de970ee1 /unix/tkUnixPort.h
parent09e45d149fcc63d92f4bee4d5db56a420c67d8ad (diff)
downloadtk-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 'unix/tkUnixPort.h')
-rw-r--r--unix/tkUnixPort.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tkUnixPort.h b/unix/tkUnixPort.h
index b360450..d8d19ab 100644
--- a/unix/tkUnixPort.h
+++ b/unix/tkUnixPort.h
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkUnixPort.h,v 1.16 2008/12/17 22:51:25 nijtmans Exp $
+ * RCS: @(#) $Id: tkUnixPort.h,v 1.17 2010/02/18 22:31:31 nijtmans Exp $
*/
#ifndef _UNIXPORT
@@ -167,7 +167,7 @@
* These functions do nothing under Unix, so we just eliminate calls to them.
*/
-#define TkpButtonSetDefaults(specPtr) {}
+#define TkpButtonSetDefaults() {}
#define TkpDestroyButton(butPtr) {}
#define TkSelUpdateClipboard(a,b) {}
#define TkSetPixmapColormap(p,c) {}