mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-02 20:04:15 +01:00
WMaker: Use wdefaultspathfordomain() to get path for Defaults directory
Instead of constructing path to user's defaults directory with hard-coded names, just query wdefaultspathfordomain with a blank domain: this returns the equivalent of "~/GNUstep/Defaults/", yet avoiding problems related to duplicating strings.
This commit is contained in:
committed by
Carlos R. Mafra
parent
bfab769065
commit
735651df55
@@ -122,7 +122,6 @@
|
||||
/* name of the script to execute at startup */
|
||||
#define DEF_INIT_SCRIPT "autostart"
|
||||
#define DEF_EXIT_SCRIPT "exitscript"
|
||||
#define DEFAULTS_DIR "Defaults"
|
||||
|
||||
#ifdef USE_TIFF
|
||||
#define DEF_BUTTON_IMAGES PKGDATADIR"/buttons.tiff"
|
||||
|
||||
Reference in New Issue
Block a user