]> git.tdb.fi Git - ext/subsurface.git/commit
Use a more standard approach to save preferences on MacOSX
authorHenrik Brautaset Aronsen <subsurface@henrik.synth.no>
Mon, 2 Jan 2012 14:14:42 +0000 (15:14 +0100)
committerDirk Hohndel <dirk@hohndel.org>
Mon, 2 Jan 2012 15:31:19 +0000 (07:31 -0800)
commit3232632fd66bfe7d66b9d6fcf8d3454c97250c88
tree6060dc5a53bafe61ac8f81c86a6e7eb32d639a01
parent0915d2e691209fa6a65baa0622d00dd8d1fe2c67
Use a more standard approach to save preferences on MacOSX

CFPreferences* seems to be the proper way to handle preferences on MacOSX.
This approach also eliminates a problem where the hard coded preferences
path couldn't be read.

Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no>
[ fixed small coding style issues ]
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
macos.c