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/ttkScrollbar.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/ttkScrollbar.c')
-rw-r--r-- | generic/ttk/ttkScrollbar.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/generic/ttk/ttkScrollbar.c b/generic/ttk/ttkScrollbar.c index 26656f2..36e3701 100644 --- a/generic/ttk/ttkScrollbar.c +++ b/generic/ttk/ttkScrollbar.c @@ -1,4 +1,4 @@ -/* $Id: ttkScrollbar.c,v 1.8 2008/04/27 22:41:12 dkf Exp $ +/* $Id: ttkScrollbar.c,v 1.9 2008/11/09 23:53:09 jenglish Exp $ * Copyright (c) 2003, Joe English * * ttk::scrollbar widget. @@ -49,7 +49,7 @@ static Tk_OptionSpec ScrollbarOptionSpecs[] = * +++ Widget hooks. */ -static int +static void ScrollbarInitialize(Tcl_Interp *interp, void *recordPtr) { Scrollbar *sb = recordPtr; @@ -57,8 +57,6 @@ ScrollbarInitialize(Tcl_Interp *interp, void *recordPtr) sb->scrollbar.last = 1.0; TtkTrackElementState(&sb->core); - - return TCL_OK; } static Ttk_Layout ScrollbarGetLayout( |