summaryrefslogtreecommitdiffstats
path: root/generic/ttk/ttkFrame.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/ttkFrame.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/ttkFrame.c')
-rw-r--r--generic/ttk/ttkFrame.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/generic/ttk/ttkFrame.c b/generic/ttk/ttkFrame.c
index c0f5ed6..f7ac834 100644
--- a/generic/ttk/ttkFrame.c
+++ b/generic/ttk/ttkFrame.c
@@ -1,4 +1,4 @@
-/* $Id: ttkFrame.c,v 1.12 2008/01/08 20:02:27 jenglish Exp $
+/* $Id: ttkFrame.c,v 1.13 2008/11/09 23:53:09 jenglish Exp $
* Copyright (c) 2004, Joe English
*
* ttk::frame and ttk::labelframe widgets.
@@ -515,7 +515,7 @@ static Ttk_ManagerSpec LabelframeManagerSpec = {
/* LabelframeInitialize --
* Initialization hook.
*/
-static int LabelframeInitialize(Tcl_Interp *interp, void *recordPtr)
+static void LabelframeInitialize(Tcl_Interp *interp, void *recordPtr)
{
Labelframe *lframe = recordPtr;
@@ -524,8 +524,6 @@ static int LabelframeInitialize(Tcl_Interp *interp, void *recordPtr)
lframe->label.labelWidget = 0;
lframe->label.labelLayout = 0;
lframe->label.labelParcel = Ttk_MakeBox(-1,-1,-1,-1);
-
- return TCL_OK;
}
/* LabelframeCleanup --