diff options
author | nijtmans <nijtmans> | 2007-01-03 05:06:25 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2007-01-03 05:06:25 (GMT) |
commit | 04839e2ede345ab7e9e61a07baefd1c91cca56bf (patch) | |
tree | ee02b8a4aebc8b8d0adb8c18fad99e3cbea4c19a /generic/ttk/ttkManager.h | |
parent | df1d5b0c6b3bdf308fd86c0101f8e9110b177a6d (diff) | |
download | tk-04839e2ede345ab7e9e61a07baefd1c91cca56bf.zip tk-04839e2ede345ab7e9e61a07baefd1c91cca56bf.tar.gz tk-04839e2ede345ab7e9e61a07baefd1c91cca56bf.tar.bz2 |
various "const" additions, in line with TIP #27
Diffstat (limited to 'generic/ttk/ttkManager.h')
-rw-r--r-- | generic/ttk/ttkManager.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/ttk/ttkManager.h b/generic/ttk/ttkManager.h index bf057c3..5c7fce8 100644 --- a/generic/ttk/ttkManager.h +++ b/generic/ttk/ttkManager.h @@ -1,4 +1,4 @@ -/* $Id: ttkManager.h,v 1.3 2006/11/03 15:42:42 patthoyts Exp $ +/* $Id: ttkManager.h,v 1.4 2007/01/03 05:06:25 nijtmans Exp $ * * Copyright (c) 2005, Joe English. Freely redistributable. * @@ -31,7 +31,7 @@ typedef struct TtkSlave_ Ttk_Slave; /* forward */ */ typedef struct { /* Manager hooks */ Tk_GeomMgr tkGeomMgr; /* "real" Tk Geometry Manager */ - Tk_OptionSpec *slaveOptionSpecs; /* slave record options */ + const Tk_OptionSpec *slaveOptionSpecs; /* slave record options */ size_t slaveSize; /* size of slave record */ int (*RequestedSize)(void *managerData, int *widthPtr, int *heightPtr); @@ -59,7 +59,7 @@ struct TtkSlave_ struct TtkManager_ { - Ttk_ManagerSpec *managerSpec; + const Ttk_ManagerSpec *managerSpec; void *managerData; Tk_Window masterWindow; Tk_OptionTable slaveOptionTable; |