summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-12-12 23:30:54 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-12-12 23:30:54 (GMT)
commite2d41cd9d979b5877eba4870b5e20df072050acc (patch)
treef9b1edd769692e7d8eea248ed099629e8edeaca0
parenta17802409ab39eb961572e943718794afb9b62a6 (diff)
downloadtk-e2d41cd9d979b5877eba4870b5e20df072050acc.zip
tk-e2d41cd9d979b5877eba4870b5e20df072050acc.tar.gz
tk-e2d41cd9d979b5877eba4870b5e20df072050acc.tar.bz2
Remove USE_OLD_CANVAS
-rw-r--r--generic/tk.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/generic/tk.h b/generic/tk.h
index bc2c91b..eae1b22 100644
--- a/generic/tk.h
+++ b/generic/tk.h
@@ -997,18 +997,6 @@ typedef struct Tk_Item {
* lines, circles, etc.) that can form part of a canvas widget.
*/
-#if defined(USE_OLD_CANVAS) && TCL_MAJOR_VERSION < 9
-typedef int (Tk_ItemCreateProc)(Tcl_Interp *interp, Tk_Canvas canvas,
- Tk_Item *itemPtr, Tcl_Size argc, char **argv);
-typedef int (Tk_ItemConfigureProc)(Tcl_Interp *interp, Tk_Canvas canvas,
- Tk_Item *itemPtr, Tcl_Size argc, char **argv, int flags);
-typedef int (Tk_ItemCoordProc)(Tcl_Interp *interp, Tk_Canvas canvas,
- Tk_Item *itemPtr, Tcl_Size argc, char **argv);
-typedef void (Tk_ItemInsertProc)(Tk_Canvas canvas, Tk_Item *itemPtr,
- int beforeThis, char *string);
-typedef int (Tk_ItemIndexProc)(Tcl_Interp *interp, Tk_Canvas canvas,
- Tk_Item *itemPtr, char *indexString, int *indexPtr);
-#else
typedef int (Tk_ItemCreateProc)(Tcl_Interp *interp, Tk_Canvas canvas,
Tk_Item *itemPtr, Tcl_Size objc, Tcl_Obj *const objv[]);
typedef int (Tk_ItemConfigureProc)(Tcl_Interp *interp, Tk_Canvas canvas,
@@ -1020,7 +1008,6 @@ typedef void (Tk_ItemInsertProc)(Tk_Canvas canvas, Tk_Item *itemPtr,
Tcl_Size beforeThis, Tcl_Obj *string);
typedef int (Tk_ItemIndexProc)(Tcl_Interp *interp, Tk_Canvas canvas,
Tk_Item *itemPtr, Tcl_Obj *indexString, Tcl_Size *indexPtr);
-#endif /* USE_OLD_CANVAS */
typedef void (Tk_ItemDeleteProc)(Tk_Canvas canvas, Tk_Item *itemPtr,
Display *display);
typedef void (Tk_ItemDisplayProc)(Tk_Canvas canvas, Tk_Item *itemPtr,