mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-03 04:14:20 +01:00
WPrefs.app: Added const attribute to local string
Now that the WINGs functions are const-correct, it is possible to set the attribute on the strings to help the compiler.
This commit is contained in:
committed by
Carlos R. Mafra
parent
591dc5cd4d
commit
a4395c5764
@@ -67,11 +67,7 @@ typedef struct _Panel {
|
||||
*/
|
||||
static const struct {
|
||||
const char *key;
|
||||
/*
|
||||
* Fixme: this string should be 'const', but 'WMAddListItem'
|
||||
* do not allow us to do so
|
||||
*/
|
||||
char *title;
|
||||
const char *title;
|
||||
} keyOptions[] = {
|
||||
{ "RootMenuKey", N_("Open applications menu") },
|
||||
{ "WindowListKey", N_("Open window list menu") },
|
||||
|
||||
Reference in New Issue
Block a user