Use wuserdatapath() everytime it is applicable
commitbd38778bef37da56705a2066e8181ec7dc3984a5
authorJohn D Pell <john@pell.cc>
Sun, 8 Aug 2021 07:36:18 +0000 (8 09:36 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Tue, 10 Aug 2021 08:42:43 +0000 (10 09:42 +0100)
treebe54de6a3e5ef92ac8b04ed4dc8a3f036c9f0dfa
parent1e45ff23057a135deb3b01f3325f7b22ca720929
Use wuserdatapath() everytime it is applicable

Replace calls to wusergnusteppath() which just append "/Library" by calls
to wuserdatapath().
Take opportunity to replace hardcoded "/WindowMaker" directories with
the existing PACKAGE_TARNAME macro (which comes from autotools).

The choice of 'TARNAME' is because it meant to be used in filename, thus
less likely to have problematic characters than PACKAGE_NAME (meant for
display purpose) and PACKAGE which is there for historical reason.
WINGs/wcolorpanel.c
WPrefs.app/Appearance.c
WPrefs.app/MouseSettings.c
src/icon.c
src/main.c
util/getstyle.c