diff options
author | nijtmans <nijtmans@noemail.net> | 2010-02-13 13:47:48 (GMT) |
---|---|---|
committer | nijtmans <nijtmans@noemail.net> | 2010-02-13 13:47:48 (GMT) |
commit | e219e22b792ba07eb8da4e3b6307bded30b611a0 (patch) | |
tree | d5a35b36ffd02f3cb0421a640eda7ee6ee229478 /generic/tkEvent.c | |
parent | caf4ec2a5761622fe0413608098f925d7dce274c (diff) | |
download | tk-e219e22b792ba07eb8da4e3b6307bded30b611a0.zip tk-e219e22b792ba07eb8da4e3b6307bded30b611a0.tar.gz tk-e219e22b792ba07eb8da4e3b6307bded30b611a0.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"
FossilOrigin-Name: 9cc7f1a2331c199de4eed2503923906f3935f0a7
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 */ |