summaryrefslogtreecommitdiffstats
path: root/generic/ttk/ttkTreeview.c
diff options
context:
space:
mode:
authorjenglish <jenglish@flightlab.com>2008-11-09 23:53:09 (GMT)
committerjenglish <jenglish@flightlab.com>2008-11-09 23:53:09 (GMT)
commit382e7dcaf6581b63580d15affc7ac2f66c4ad712 (patch)
tree438838c4ce7d1162b72cf87cab54837316c5aa34 /generic/ttk/ttkTreeview.c
parent8790cbda7d404e9f8bc351d5349f0ef327575cf9 (diff)
downloadtk-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.c6
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)