summaryrefslogtreecommitdiffstats
path: root/generic/tkGrab.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-02-13 13:47:49 (GMT)
committernijtmans <nijtmans>2010-02-13 13:47:49 (GMT)
commit759424b1be09259bf20d269efd93af21c5150a01 (patch)
treed5a35b36ffd02f3cb0421a640eda7ee6ee229478 /generic/tkGrab.c
parent454e04bbf4e61fb4a363ffcfedb08e941a17952f (diff)
downloadtk-759424b1be09259bf20d269efd93af21c5150a01.zip
tk-759424b1be09259bf20d269efd93af21c5150a01.tar.gz
tk-759424b1be09259bf20d269efd93af21c5150a01.tar.bz2
use -pipe for gcc on win32 (mingw/cygwin)
make sure that TkpCmapStressed is exported clean up unused Tk_CreatePhotoOption Make more internal arrays "const"
Diffstat (limited to 'generic/tkGrab.c')
-rw-r--r--generic/tkGrab.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkGrab.c b/generic/tkGrab.c
index 48bfcd6..67cf216 100644
--- a/generic/tkGrab.c
+++ b/generic/tkGrab.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkGrab.c,v 1.19 2009/06/29 14:35:01 das Exp $
+ * RCS: @(#) $Id: tkGrab.c,v 1.20 2010/02/13 13:47:49 nijtmans Exp $
*/
#include "tkInt.h"
@@ -141,7 +141,7 @@ typedef struct NewGrabWinEvent {
#define ALL_BUTTONS \
(Button1Mask|Button2Mask|Button3Mask|Button4Mask|Button5Mask)
-static unsigned int buttonStates[] = {
+static const unsigned int buttonStates[] = {
Button1Mask, Button2Mask, Button3Mask, Button4Mask, Button5Mask
};