diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-01-26 00:24:07 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-01-26 00:24:07 (GMT) |
commit | 13e6c44129865089d8680474141354555450ae04 (patch) | |
tree | cd1af88f02192ab59b05cebb82e886341624241e /generic/ttk | |
parent | 8e4cfc592771290d75f559ef2dea0836cc26e7fe (diff) | |
download | tk-13e6c44129865089d8680474141354555450ae04.zip tk-13e6c44129865089d8680474141354555450ae04.tar.gz tk-13e6c44129865089d8680474141354555450ae04.tar.bz2 |
Use some more (void *)'s in FreeProc's, a step in the direction getting Tk to work with "novem"
Diffstat (limited to 'generic/ttk')
-rw-r--r-- | generic/ttk/ttkWidget.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/ttk/ttkWidget.c b/generic/ttk/ttkWidget.c index 464be78..c50efc5 100644 --- a/generic/ttk/ttkWidget.c +++ b/generic/ttk/ttkWidget.c @@ -198,7 +198,7 @@ WidgetInstanceObjCmdDeleted(ClientData clientData) * Final cleanup for widget; called via Tcl_EventuallyFree(). */ static void -FreeWidget(char *memPtr) +FreeWidget(void *memPtr) { ckfree(memPtr); } @@ -231,7 +231,7 @@ DestroyWidget(WidgetCore *corePtr) /* NB: this can reenter the interpreter via a command traces */ Tcl_DeleteCommandFromToken(corePtr->interp, cmd); } - Tcl_EventuallyFree(corePtr, FreeWidget); + Tcl_EventuallyFree(corePtr, (Tcl_FreeProc *) FreeWidget); } /* |