diff options
author | jenglish <jenglish@flightlab.com> | 2008-11-09 23:53:09 (GMT) |
---|---|---|
committer | jenglish <jenglish@flightlab.com> | 2008-11-09 23:53:09 (GMT) |
commit | 382e7dcaf6581b63580d15affc7ac2f66c4ad712 (patch) | |
tree | 438838c4ce7d1162b72cf87cab54837316c5aa34 /generic/ttk/ttkScale.c | |
parent | 8790cbda7d404e9f8bc351d5349f0ef327575cf9 (diff) | |
download | tk-382e7dcaf6581b63580d15affc7ac2f66c4ad712.zip tk-382e7dcaf6581b63580d15affc7ac2f66c4ad712.tar.gz tk-382e7dcaf6581b63580d15affc7ac2f66c4ad712.tar.bz2 |
Ttk widget initializeProc()s now return void instead of
a status code, and are no longer allowed to fail.
(Fix for #2207435 in progress).
Diffstat (limited to 'generic/ttk/ttkScale.c')
-rw-r--r-- | generic/ttk/ttkScale.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/generic/ttk/ttkScale.c b/generic/ttk/ttkScale.c index 68438a2..bf1f1ea 100644 --- a/generic/ttk/ttkScale.c +++ b/generic/ttk/ttkScale.c @@ -1,4 +1,4 @@ -/* $Id: ttkScale.c,v 1.8 2008/04/27 22:41:12 dkf Exp $ +/* $Id: ttkScale.c,v 1.9 2008/11/09 23:53:09 jenglish Exp $ * Copyright (C) 2004 Pat Thoyts <patthoyts@users.sourceforge.net> * * ttk::scale widget. @@ -100,12 +100,10 @@ static void ScaleVariableChanged(void *recordPtr, const char *value) /* ScaleInitialize -- * Scale widget initialization hook. */ -static int ScaleInitialize(Tcl_Interp *interp, void *recordPtr) +static void ScaleInitialize(Tcl_Interp *interp, void *recordPtr) { Scale *scalePtr = recordPtr; - TtkTrackElementState(&scalePtr->core); - return TCL_OK; } static void ScaleCleanup(void *recordPtr) |