diff options
author | nijtmans <nijtmans> | 2010-01-13 23:08:06 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2010-01-13 23:08:06 (GMT) |
commit | c7b12f7f3d5859e81785c2129206953c75660e87 (patch) | |
tree | 1f472912658d183c50de332bc66a33540b44f060 /generic/tkMenu.c | |
parent | 1f8639e3808578c6a2f1cf69f86811a96b1a8953 (diff) | |
download | tk-c7b12f7f3d5859e81785c2129206953c75660e87.zip tk-c7b12f7f3d5859e81785c2129206953c75660e87.tar.gz tk-c7b12f7f3d5859e81785c2129206953c75660e87.tar.bz2 |
Eliminate tkpMenubuttonClass
make tkpButtonProcs CONST
fix gcc warnings: missing initializer
Diffstat (limited to 'generic/tkMenu.c')
-rw-r--r-- | generic/tkMenu.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/generic/tkMenu.c b/generic/tkMenu.c index 4f97eb9..a8119d6 100644 --- a/generic/tkMenu.c +++ b/generic/tkMenu.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: tkMenu.c,v 1.56 2010/01/05 09:40:46 dkf Exp $ + * RCS: @(#) $Id: tkMenu.c,v 1.57 2010/01/13 23:08:09 nijtmans Exp $ */ /* @@ -373,9 +373,11 @@ static void TkMenuCleanup(ClientData unused); * geometry proc to be called. */ -static Tk_ClassProcs menuClass = { +static const Tk_ClassProcs menuClass = { sizeof(Tk_ClassProcs), /* size */ - MenuWorldChanged /* worldChangedProc */ + MenuWorldChanged, /* worldChangedProc */ + NULL, /* createProc */ + NULL /* modalProc */ }; /* |