diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2005-10-12 09:29:21 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2005-10-12 09:29:21 (GMT) |
commit | 25545eb7dcc6b464fa5786a03fffb174b31e0fd0 (patch) | |
tree | 707e730ffb01d5f4315270f9550f0e3f18379104 /generic | |
parent | 33189491c7086c538aa840c37a4c4f967926c7b2 (diff) | |
download | tk-25545eb7dcc6b464fa5786a03fffb174b31e0fd0.zip tk-25545eb7dcc6b464fa5786a03fffb174b31e0fd0.tar.gz tk-25545eb7dcc6b464fa5786a03fffb174b31e0fd0.tar.bz2 |
Arrange the test suite so that it only accesses images in the same directory.
This enables packaging of the test suite as a starkit.
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tkMenu.c | 6 | ||||
-rw-r--r-- | generic/tkMenu.h | 3 |
2 files changed, 7 insertions, 2 deletions
diff --git a/generic/tkMenu.c b/generic/tkMenu.c index 2c4f2a5..7ef6d7d 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.29 2005/10/10 20:26:31 hobbs Exp $ + * RCS: @(#) $Id: tkMenu.c,v 1.30 2005/10/12 09:29:21 dkf Exp $ */ /* @@ -1328,6 +1328,10 @@ TkDestroyMenu(menuPtr) * a reference to a 'TkMenuReferences' structure, and therefore * no such structure contains a reference to this menu entry either. * + * At the end of this function, the menu entry no longer contains + * a reference to a 'TkMenuReferences' structure, and therefore + * no such structure contains a reference to this menu entry either. + * * Results: * None * diff --git a/generic/tkMenu.h b/generic/tkMenu.h index 42a6719..6bbf819 100644 --- a/generic/tkMenu.h +++ b/generic/tkMenu.h @@ -8,7 +8,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.h,v 1.7 2003/05/30 11:03:00 vincentdarley Exp $ + * RCS: @(#) $Id: tkMenu.h,v 1.8 2005/10/12 09:29:21 dkf Exp $ */ #ifndef _TKMENU @@ -386,6 +386,7 @@ typedef struct TkMenu { /* We actually have to allocate these because * multiple menus get changed during one * ConfigureMenu call. */ + int refCount; } TkMenu; /* |