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/ttkTreeview.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/ttkTreeview.c')
-rw-r--r-- | generic/ttk/ttkTreeview.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/generic/ttk/ttkTreeview.c b/generic/ttk/ttkTreeview.c index 9284197..842375d 100644 --- a/generic/ttk/ttkTreeview.c +++ b/generic/ttk/ttkTreeview.c @@ -1,4 +1,4 @@ -/* $Id: ttkTreeview.c,v 1.29 2008/07/23 23:24:45 nijtmans Exp $ +/* $Id: ttkTreeview.c,v 1.30 2008/11/09 23:53:09 jenglish Exp $ * Copyright (c) 2004, Joe English * * ttk::treeview widget implementation. @@ -985,7 +985,7 @@ static void TreeviewBindEventProc(void *clientData, XEvent *event) * +++ Initialization and cleanup. */ -static int TreeviewInitialize(Tcl_Interp *interp, void *recordPtr) +static void TreeviewInitialize(Tcl_Interp *interp, void *recordPtr) { Treeview *tv = recordPtr; int unused; @@ -1050,8 +1050,6 @@ static int TreeviewInitialize(Tcl_Interp *interp, void *recordPtr) */ tv->tree.treeArea = tv->tree.headingArea = Ttk_MakeBox(0,0,0,0); tv->tree.slack = 0; - - return TCL_OK; } static void TreeviewCleanup(void *recordPtr) |