From 868a2cc0905b719cb5f3eaf15f0550d6ce82dbeb Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Thu, 10 Jan 2013 17:26:10 -0800 Subject: Split up preference data structure definition into 'pref.h' .. and rename the badly named 'output_units/input_units' variables. We used to have this confusing thing where we had two different units (input vs output) that *look* like they are mirror images, but in fact "output_units" was the user units, and "input_units" are the XML parsing units. So this renames them to be clearer. "output_units" is now just "units" (it's the units a user would ever see), and "input_units" is now "xml_parsing_units" and set by the XML file parsers to reflect the units of the parsed file. Signed-off-by: Linus Torvalds Signed-off-by: Dirk Hohndel --- macos.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'macos.c') 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) { -- cgit v1.2.3-70-g09d2