diff options
author | jenglish <jenglish@flightlab.com> | 2006-12-14 19:51:02 (GMT) |
---|---|---|
committer | jenglish <jenglish@flightlab.com> | 2006-12-14 19:51:02 (GMT) |
commit | b822c063c5281f853e702026499f46c31b47e518 (patch) | |
tree | eddfc995a90320e7557281183d21567f58985d44 /generic/ttk/ttkProgress.c | |
parent | d4a63ee0259256e40eba77a360b9902afc472bc4 (diff) | |
download | tk-b822c063c5281f853e702026499f46c31b47e518.zip tk-b822c063c5281f853e702026499f46c31b47e518.tar.gz tk-b822c063c5281f853e702026499f46c31b47e518.tar.bz2 |
Global reduction: use per-file *_Init() routines to reduce
the number of globally-visible initialization records.
Diffstat (limited to 'generic/ttk/ttkProgress.c')
-rw-r--r-- | generic/ttk/ttkProgress.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/generic/ttk/ttkProgress.c b/generic/ttk/ttkProgress.c index 45b4415..4b442d3 100644 --- a/generic/ttk/ttkProgress.c +++ b/generic/ttk/ttkProgress.c @@ -1,8 +1,8 @@ -/* $Id: ttkProgress.c,v 1.2 2006/11/03 03:06:22 das Exp $ +/* $Id: ttkProgress.c,v 1.3 2006/12/14 19:51:04 jenglish Exp $ * * Copyright (c) Joe English, Pat Thoyts, Michael Kirkham * - * Ttk widget set: progress bar widget. + * ttk::progressbar widget. */ #include <math.h> @@ -534,7 +534,9 @@ TTK_END_LAYOUT /* * Initialization: */ -MODULE_SCOPE int TtkProgressbar_Init(Tcl_Interp *interp) + +MODULE_SCOPE +void TtkProgressbar_Init(Tcl_Interp *interp) { Ttk_Theme themePtr = Ttk_GetDefaultTheme(interp); @@ -544,8 +546,6 @@ MODULE_SCOPE int TtkProgressbar_Init(Tcl_Interp *interp) "Horizontal.TProgressbar", HorizontalProgressbarLayout); RegisterWidget(interp, "ttk::progressbar", &ProgressbarWidgetSpec); - - return TCL_OK; } /*EOF*/ |