1
0
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:
John D Pell
2021-08-08 09:36:11 +02:00
committed by Carlos R. Mafra
parent bfab769065
commit 735651df55
2 changed files with 1 additions and 2 deletions

View File

@@ -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"