summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
Diffstat (limited to 'generic')
-rw-r--r--generic/ttk/ttkInit.c10
-rw-r--r--generic/ttk/ttkPanedwindow.c4
-rw-r--r--generic/ttk/ttkTreeview.c6
3 files changed, 6 insertions, 14 deletions
diff --git a/generic/ttk/ttkInit.c b/generic/ttk/ttkInit.c
index 0b3143d..c4e4e6a 100644
--- a/generic/ttk/ttkInit.c
+++ b/generic/ttk/ttkInit.c
@@ -1,4 +1,4 @@
-/* $Id: ttkInit.c,v 1.2 2006/11/03 03:06:22 das Exp $
+/* $Id: ttkInit.c,v 1.3 2006/12/13 20:40:32 hobbs Exp $
* Copyright (c) 2003, Joe English
*
* Ttk package: initialization routine and miscellaneous utilities.
@@ -207,10 +207,8 @@ extern WidgetSpec ttkSizegripWidgetSpec;
extern int TtkProgressbar_Init(Tcl_Interp *);
extern int TtkNotebook_Init(Tcl_Interp *);
extern int TtkEntryWidget_Init(Tcl_Interp *);
-#ifdef TTK_TREEVIEW_WIDGET
extern int TtkTreeview_Init(Tcl_Interp *);
-#endif
-extern int TtkPaned_Init(Tcl_Interp *);
+extern int TtkPanedwindow_Init(Tcl_Interp *);
#ifdef TTK_SQUARE_WIDGET
extern int TtkSquareWidget_Init(Tcl_Interp *);
#endif
@@ -231,10 +229,8 @@ static void RegisterWidgets(Tcl_Interp *interp)
TtkNotebook_Init(interp);
TtkEntryWidget_Init(interp);
TtkProgressbar_Init(interp);
- TtkPaned_Init(interp);
-#ifdef TTK_TREEVIEW_WIDGET
+ TtkPanedwindow_Init(interp);
TtkTreeview_Init(interp);
-#endif
#ifdef TTK_SQUARE_WIDGET
TtkSquareWidget_Init(interp);
#endif
diff --git a/generic/ttk/ttkPanedwindow.c b/generic/ttk/ttkPanedwindow.c
index 2bd3f1b..d53cb71 100644
--- a/generic/ttk/ttkPanedwindow.c
+++ b/generic/ttk/ttkPanedwindow.c
@@ -1,4 +1,4 @@
-/* $Id: ttkPanedwindow.c,v 1.5 2006/11/27 06:53:55 jenglish Exp $
+/* $Id: ttkPanedwindow.c,v 1.6 2006/12/13 20:40:32 hobbs Exp $
*
* Copyright (c) 2005, Joe English. Freely redistributable.
*
@@ -799,7 +799,7 @@ TTK_END_LAYOUT
/*------------------------------------------------------------------------
* +++ Registration routine.
*/
-MODULE_SCOPE int TtkPaned_Init(Tcl_Interp *interp)
+MODULE_SCOPE int TtkPanedwindow_Init(Tcl_Interp *interp)
{
Ttk_Theme themePtr = Ttk_GetDefaultTheme(interp);
RegisterWidget(interp, "ttk::panedwindow", &PanedWidgetSpec);
diff --git a/generic/ttk/ttkTreeview.c b/generic/ttk/ttkTreeview.c
index 6990c8f..cf75ee9 100644
--- a/generic/ttk/ttkTreeview.c
+++ b/generic/ttk/ttkTreeview.c
@@ -1,5 +1,5 @@
/*
- * $Id: ttkTreeview.c,v 1.6 2006/12/09 20:53:35 jenglish Exp $
+ * $Id: ttkTreeview.c,v 1.7 2006/12/13 20:40:32 hobbs Exp $
* Copyright (c) 2004, Joe English
*
* ttk::treeview widget implementation.
@@ -10,8 +10,6 @@
#include "ttkTheme.h"
#include "ttkWidget.h"
-#ifdef TTK_TREEVIEW_WIDGET
-
#define DEF_TREE_ROWS "10"
#define DEF_TREE_PADDING "4"
#define DEF_COLWIDTH "200"
@@ -2971,6 +2969,4 @@ MODULE_SCOPE int TtkTreeview_Init(Tcl_Interp *interp)
return TCL_OK;
}
-#endif /* TTK_TREEVIEW_WIDGET */
-
/*EOF*/