summaryrefslogtreecommitdiffstats
path: root/macos.c
diff options
context:
space:
mode:
Diffstat (limited to 'macos.c')
-rw-r--r--macos.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/macos.c b/macos.c
index f6557bf3d..7bc1aa2ac 100644
--- a/macos.c
+++ b/macos.c
@@ -26,6 +26,11 @@ void subsurface_open_conf(void)
/* nothing at this time */
}
+void subsurface_unset_conf(char *name)
+{
+ CFPreferencesSetAppValue(CFSTR_VAR(name), NULL, SUBSURFACE_PREFERENCES);
+}
+
void subsurface_set_conf(char *name, pref_type_t type, const void *value)
{
switch (type) {