1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-22 22:28:02 +01:00

wmaker: Added 'const' attribute to function 'wDefaultsInitDomain'

This has a few side effects which are properly handled by this patch

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
Christophe CURIS
2013-06-16 17:57:46 +02:00
committed by Carlos R. Mafra
parent 062ff99fac
commit 69b6848187
2 changed files with 6 additions and 6 deletions

View File

@@ -22,13 +22,13 @@
#define WMDEFAULTS_H_
typedef struct WDDomain {
char *domain_name;
const char *domain_name;
WMPropList *dictionary;
char *path;
const char *path;
time_t timestamp;
} WDDomain;
WDDomain * wDefaultsInitDomain(char *domain, Bool requireDictionary);
WDDomain * wDefaultsInitDomain(const char *domain, Bool requireDictionary);
void wDefaultsMergeGlobalMenus(WDDomain *menuDomain);