diff options
author | nijtmans <nijtmans> | 2010-02-13 13:47:49 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2010-02-13 13:47:49 (GMT) |
commit | 759424b1be09259bf20d269efd93af21c5150a01 (patch) | |
tree | d5a35b36ffd02f3cb0421a640eda7ee6ee229478 /generic/tkEvent.c | |
parent | 454e04bbf4e61fb4a363ffcfedb08e941a17952f (diff) | |
download | tk-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/tkEvent.c')
-rw-r--r-- | generic/tkEvent.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkEvent.c b/generic/tkEvent.c index 08f2f85..63c69ac 100644 --- a/generic/tkEvent.c +++ b/generic/tkEvent.c @@ -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: tkEvent.c,v 1.42 2010/01/02 22:52:38 dkf Exp $ + * RCS: @(#) $Id: tkEvent.c,v 1.43 2010/02/13 13:47:49 nijtmans Exp $ */ #include "tkInt.h" @@ -75,7 +75,7 @@ typedef struct TkWindowEvent { * Array of event masks corresponding to each X event: */ -static unsigned long realEventMasks[MappingNotify+1] = { +static const unsigned long realEventMasks[MappingNotify+1] = { 0, 0, KeyPressMask, /* KeyPress */ @@ -116,7 +116,7 @@ static unsigned long realEventMasks[MappingNotify+1] = { 0 /* Mapping Notify */ }; -static unsigned long virtualEventMasks[TK_LASTEVENT-VirtualEvent] = { +static const unsigned long virtualEventMasks[TK_LASTEVENT-VirtualEvent] = { VirtualEventMask, /* VirtualEvents */ ActivateMask, /* ActivateNotify */ ActivateMask, /* DeactivateNotify */ |