summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-08-28 12:01:15 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-08-28 12:01:15 +0000
commit10abd63aeb3665b2dcade32b6397a485579638ec (patch)
tree2a2bbb265330db06b8f93ea586085c89f2ec7aff
parent1e7c36a80b7110b50bc71762f633af1a46b4609c (diff)
Minor coding style cleanup
-rw-r--r--audio/main.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/audio/main.c b/audio/main.c
index e828f022..fb199a4b 100644
--- a/audio/main.c
+++ b/audio/main.c
@@ -77,8 +77,7 @@ static void read_config(const char *file)
return;
}
- str = g_key_file_get_string(keyfile, "General",
- "SCORouting", &err);
+ str = g_key_file_get_string(keyfile, "General", "SCORouting", &err);
if (err) {
debug("%s: %s", file, err->message);
g_error_free(err);
@@ -93,8 +92,7 @@ static void read_config(const char *file)
g_free(str);
}
- str = g_key_file_get_string(keyfile, "General",
- "Disable", &err);
+ str = g_key_file_get_string(keyfile, "General", "Disable", &err);
if (err) {
debug("%s: %s", file, err->message);
g_error_free(err);
@@ -115,8 +113,8 @@ static void read_config(const char *file)
g_free(str);
}
- no_hfp = g_key_file_get_boolean(keyfile, "Headset",
- "DisableHFP", &err);
+ no_hfp = g_key_file_get_boolean(keyfile, "Headset", "DisableHFP",
+ &err);
if (err) {
debug("%s: %s", file, err->message);
g_error_free(err);
@@ -124,8 +122,7 @@ static void read_config(const char *file)
} else
disable_hfp = no_hfp;
- str = g_key_file_get_string(keyfile, "A2DP",
- "SourceCount", &err);
+ str = g_key_file_get_string(keyfile, "A2DP", "SourceCount", &err);
if (err) {
debug("%s: %s", file, err->message);
g_error_free(err);