diff options
author | jenglish <jenglish@flightlab.com> | 2006-12-10 19:19:43 (GMT) |
---|---|---|
committer | jenglish <jenglish@flightlab.com> | 2006-12-10 19:19:43 (GMT) |
commit | fee58f470580278055dd6c6c47f52c4df200144e (patch) | |
tree | 45dcd6ea7d09ab2dbd2fc12afa9f424c42c783e0 /generic/ttk/ttkTheme.c | |
parent | b346fcd62a3fedd582eaa70e156d7d16c66b0748 (diff) | |
download | tk-fee58f470580278055dd6c6c47f52c4df200144e.zip tk-fee58f470580278055dd6c6c47f52c4df200144e.tar.gz tk-fee58f470580278055dd6c6c47f52c4df200144e.tar.bz2 |
Rename typedef Ttk_Element => Ttk_ElementImpl.
Diffstat (limited to 'generic/ttk/ttkTheme.c')
-rw-r--r-- | generic/ttk/ttkTheme.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/generic/ttk/ttkTheme.c b/generic/ttk/ttkTheme.c index cca5d3a..305445d 100644 --- a/generic/ttk/ttkTheme.c +++ b/generic/ttk/ttkTheme.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. * - * $Id: ttkTheme.c,v 1.3 2006/11/07 03:45:28 jenglish Exp $ + * $Id: ttkTheme.c,v 1.4 2006/12/10 19:19:44 jenglish Exp $ */ #include <stdlib.h> @@ -753,7 +753,7 @@ const char *Ttk_StyleName(Ttk_Style stylePtr) * repeat the lookups in the parent theme. * If not found, return the null element. */ -Ttk_Element Ttk_GetElement(Ttk_Theme themePtr, const char *elementName) +Ttk_ElementImpl Ttk_GetElement(Ttk_Theme themePtr, const char *elementName) { Tcl_HashEntry *entryPtr; const char *dot = elementName; @@ -763,7 +763,7 @@ Ttk_Element Ttk_GetElement(Ttk_Theme themePtr, const char *elementName) */ entryPtr = Tcl_FindHashEntry(&themePtr->elementTable, elementName); if (entryPtr) { - return (Ttk_Element)Tcl_GetHashValue(entryPtr); + return (Ttk_ElementImpl)Tcl_GetHashValue(entryPtr); } /* @@ -790,7 +790,7 @@ Ttk_Element Ttk_GetElement(Ttk_Theme themePtr, const char *elementName) */ entryPtr = Tcl_FindHashEntry(&themePtr->elementTable, ""); /* ASSERT: entryPtr != 0 */ - return (Ttk_Element)Tcl_GetHashValue(entryPtr); + return (Ttk_ElementImpl)Tcl_GetHashValue(entryPtr); } const char *Ttk_ElementName(ElementImpl *elementImpl) @@ -870,7 +870,7 @@ static int Ttk_CloneElement( * if interp is non-NULL. */ -Ttk_Element Ttk_RegisterElement( +Ttk_ElementImpl Ttk_RegisterElement( Tcl_Interp *interp, /* Where to leave error messages */ Ttk_Theme theme, /* Style engine providing the implementation. */ const char *name, /* Name of new element */ |