diff options
author | nijtmans <nijtmans@noemail.net> | 2010-01-13 23:08:05 (GMT) |
---|---|---|
committer | nijtmans <nijtmans@noemail.net> | 2010-01-13 23:08:05 (GMT) |
commit | 2a6e99eac2cafe53c9f62a80199cc41e4b3aa943 (patch) | |
tree | 1f472912658d183c50de332bc66a33540b44f060 /generic/tkCanvas.c | |
parent | 8002b7add03af6f6b4d26c266f987cc31974bccb (diff) | |
download | tk-2a6e99eac2cafe53c9f62a80199cc41e4b3aa943.zip tk-2a6e99eac2cafe53c9f62a80199cc41e4b3aa943.tar.gz tk-2a6e99eac2cafe53c9f62a80199cc41e4b3aa943.tar.bz2 |
Eliminate tkpMenubuttonClass
make tkpButtonProcs CONST
fix gcc warnings: missing initializer
FossilOrigin-Name: 621b74296faf0808383caf277e5d114a4ed2560a
Diffstat (limited to 'generic/tkCanvas.c')
-rw-r--r-- | generic/tkCanvas.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/generic/tkCanvas.c b/generic/tkCanvas.c index f14d2d0..d49297a 100644 --- a/generic/tkCanvas.c +++ b/generic/tkCanvas.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: tkCanvas.c,v 1.61 2010/01/02 22:52:38 dkf Exp $ + * RCS: @(#) $Id: tkCanvas.c,v 1.62 2010/01/13 23:08:08 nijtmans Exp $ */ /* #define USE_OLD_TAG_SEARCH 1 */ @@ -323,9 +323,11 @@ static Tk_Item * TagSearchNext(TagSearch *searchPtr); * that can be invoked from generic window code. */ -static Tk_ClassProcs canvasClass = { +static const Tk_ClassProcs canvasClass = { sizeof(Tk_ClassProcs), /* size */ CanvasWorldChanged, /* worldChangedProc */ + NULL, /* createProc */ + NULL /* modalProc */ }; /* |