diff options
author | nijtmans <nijtmans> | 2008-11-02 09:54:02 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2008-11-02 09:54:02 (GMT) |
commit | a475a7d14acbd3887a32eccadc86c2fd199d903f (patch) | |
tree | b014c8108a140f535206360d6933a9d1d81e4d60 /generic/ttk/ttkTheme.h | |
parent | 5539be5efd44624e705da40cc44d6feda4207817 (diff) | |
download | tk-a475a7d14acbd3887a32eccadc86c2fd199d903f.zip tk-a475a7d14acbd3887a32eccadc86c2fd199d903f.tar.gz tk-a475a7d14acbd3887a32eccadc86c2fd199d903f.tar.bz2 |
more internal -Wwrite-strings warning fixes
Diffstat (limited to 'generic/ttk/ttkTheme.h')
-rw-r--r-- | generic/ttk/ttkTheme.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/ttk/ttkTheme.h b/generic/ttk/ttkTheme.h index c5de39b..f054181 100644 --- a/generic/ttk/ttkTheme.h +++ b/generic/ttk/ttkTheme.h @@ -1,4 +1,4 @@ -/* $Id: ttkTheme.h,v 1.14 2008/05/23 20:20:05 jenglish Exp $ +/* $Id: ttkTheme.h,v 1.15 2008/11/02 09:54:02 nijtmans Exp $ * Copyright (c) 2003 Joe English. Freely redistributable. * * Declarations for Tk theme engine. @@ -236,10 +236,10 @@ typedef void (Ttk_ElementDrawProc)(void *clientData, void *elementRecord, typedef struct Ttk_ElementOptionSpec { - char *optionName; /* Command-line name of the widget option */ + const char *optionName; /* Command-line name of the widget option */ Tk_OptionType type; /* Accepted option types */ int offset; /* Offset of Tcl_Obj* field in element record */ - char *defaultValue; /* Default value to used if resource missing */ + const char *defaultValue; /* Default value to used if resource missing */ } Ttk_ElementOptionSpec; #define TK_OPTION_ANY TK_OPTION_STRING |