diff options
author | jenglish <jenglish@flightlab.com> | 2007-01-11 14:49:45 (GMT) |
---|---|---|
committer | jenglish <jenglish@flightlab.com> | 2007-01-11 14:49:45 (GMT) |
commit | a46a8df372318c40d2d0c346578eef7412a7b257 (patch) | |
tree | fe033de3dd789135611ff553cdad27ead5f00297 /generic/ttk/ttkManager.h | |
parent | 67771314a2fb4326cc411f74011c1d47edd3bfa5 (diff) | |
download | tk-a46a8df372318c40d2d0c346578eef7412a7b257.zip tk-a46a8df372318c40d2d0c346578eef7412a7b257.tar.gz tk-a46a8df372318c40d2d0c346578eef7412a7b257.tar.bz2 |
Revert addition of contravariant 'const' qualifiers,
to keep in sync with Tile codebase (which must remain
compatible with Tk 8.4).
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 5c7fce8..c03c3da 100644 --- a/generic/ttk/ttkManager.h +++ b/generic/ttk/ttkManager.h @@ -1,4 +1,4 @@ -/* $Id: ttkManager.h,v 1.4 2007/01/03 05:06:25 nijtmans Exp $ +/* $Id: ttkManager.h,v 1.5 2007/01/11 14:49:47 jenglish 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 */ - const Tk_OptionSpec *slaveOptionSpecs; /* slave record options */ + 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_ { - const Ttk_ManagerSpec *managerSpec; + Ttk_ManagerSpec *managerSpec; void *managerData; Tk_Window masterWindow; Tk_OptionTable slaveOptionTable; |