summaryrefslogtreecommitdiffstats
path: root/generic/ttk/ttkManager.h
diff options
context:
space:
mode:
authorjenglish <jenglish@flightlab.com>2007-01-11 14:49:45 (GMT)
committerjenglish <jenglish@flightlab.com>2007-01-11 14:49:45 (GMT)
commita46a8df372318c40d2d0c346578eef7412a7b257 (patch)
treefe033de3dd789135611ff553cdad27ead5f00297 /generic/ttk/ttkManager.h
parent67771314a2fb4326cc411f74011c1d47edd3bfa5 (diff)
downloadtk-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.h6
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;