summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authornijtmans <nijtmans>2007-01-05 00:00:47 (GMT)
committernijtmans <nijtmans>2007-01-05 00:00:47 (GMT)
commit67771314a2fb4326cc411f74011c1d47edd3bfa5 (patch)
treeef0668274bd47be5de7af3d70163084f9e530aa3 /unix
parentb89f2e9fa3ed933c2d1599be0cdc0f4616ae17c7 (diff)
downloadtk-67771314a2fb4326cc411f74011c1d47edd3bfa5.zip
tk-67771314a2fb4326cc411f74011c1d47edd3bfa5.tar.gz
tk-67771314a2fb4326cc411f74011c1d47edd3bfa5.tar.bz2
various "const" additions, in line with TIP #27
fix bug #1627732
Diffstat (limited to 'unix')
-rw-r--r--unix/tkUnixWm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/tkUnixWm.c b/unix/tkUnixWm.c
index dadc5f6..6ee1d0b 100644
--- a/unix/tkUnixWm.c
+++ b/unix/tkUnixWm.c
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkUnixWm.c,v 1.53 2006/12/11 13:33:32 dkf Exp $
+ * RCS: @(#) $Id: tkUnixWm.c,v 1.54 2007/01/05 00:00:53 nijtmans Exp $
*/
#include "tkPort.h"
@@ -294,12 +294,12 @@ typedef struct TkWmInfo {
static void TopLevelReqProc(ClientData dummy, Tk_Window tkwin);
static void MenubarReqProc(ClientData clientData, Tk_Window tkwin);
-static Tk_GeomMgr wmMgrType = {
+static const Tk_GeomMgr wmMgrType = {
"wm", /* name */
TopLevelReqProc, /* requestProc */
NULL, /* lostSlaveProc */
};
-static Tk_GeomMgr menubarMgrType = {
+static const Tk_GeomMgr menubarMgrType = {
"menubar", /* name */
MenubarReqProc, /* requestProc */
NULL, /* lostSlaveProc */