diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2004-09-03 14:09:04 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2004-09-03 14:09:04 (GMT) |
commit | 901d7c12a89335301776da04b7616f83cf1d2842 (patch) | |
tree | fb2d143d998675e0f031954bae29b91fb6b006e6 /macosx/tkMacOSXMenu.c | |
parent | f1b4b874ffe53d5f6720ea0133c98fb429d6813f (diff) | |
download | tk-901d7c12a89335301776da04b7616f83cf1d2842.zip tk-901d7c12a89335301776da04b7616f83cf1d2842.tar.gz tk-901d7c12a89335301776da04b7616f83cf1d2842.tar.bz2 |
Make sure user_data is NULL everywhere it isn't set. [Bug 1021812]
Diffstat (limited to 'macosx/tkMacOSXMenu.c')
-rw-r--r-- | macosx/tkMacOSXMenu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/macosx/tkMacOSXMenu.c b/macosx/tkMacOSXMenu.c index b83bc51..7ad48b4 100644 --- a/macosx/tkMacOSXMenu.c +++ b/macosx/tkMacOSXMenu.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: tkMacOSXMenu.c,v 1.14 2004/07/20 11:49:16 das Exp $ + * RCS: @(#) $Id: tkMacOSXMenu.c,v 1.15 2004/09/03 14:09:05 dkf Exp $ */ #include "tkMacOSXInt.h" #include "tkMenubutton.h" @@ -3683,6 +3683,7 @@ MenuSelectEvent( event.state = TkMacOSXButtonKeyState(); event.same_screen = true; event.name = Tk_GetUid("MenuSelect"); + event.user_data = NULL; Tk_QueueWindowEvent((XEvent *) &event, TCL_QUEUE_TAIL); } |