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/tkEntry.c | |
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/tkEntry.c')
-rw-r--r-- | generic/tkEntry.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tkEntry.c b/generic/tkEntry.c index 192101d..9d1595c 100644 --- a/generic/tkEntry.c +++ b/generic/tkEntry.c @@ -392,7 +392,7 @@ static const char *const selElementNames[] = { static int ConfigureEntry(Tcl_Interp *interp, Entry *entryPtr, int objc, Tcl_Obj *const objv[], int flags); static void DeleteChars(Entry *entryPtr, int index, int count); -static void DestroyEntry(char *memPtr); +static void DestroyEntry(void *memPtr); static void DisplayEntry(ClientData clientData); static void EntryBlinkProc(ClientData clientData); static void EntryCmdDeletedProc(ClientData clientData); @@ -1010,9 +1010,9 @@ EntryWidgetObjCmd( static void DestroyEntry( - char *memPtr) /* Info about entry widget. */ + void *memPtr) /* Info about entry widget. */ { - Entry *entryPtr = (Entry *) memPtr; + Entry *entryPtr = memPtr; /* * Free up all the stuff that requires special handling, then let @@ -2429,7 +2429,7 @@ EntryEventProc( if (entryPtr->flags & REDRAW_PENDING) { Tcl_CancelIdleCall(DisplayEntry, clientData); } - Tcl_EventuallyFree(clientData, DestroyEntry); + Tcl_EventuallyFree(clientData, (Tcl_FreeProc *) DestroyEntry); } break; case ConfigureNotify: |