summaryrefslogtreecommitdiff
path: root/audio/headset.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-07-19 11:28:42 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-07-19 11:28:42 +0000
commit06455ab12fe0df1278899ce31ae7a771495186ea (patch)
tree2d920840f7fc912be92b5bb81e2a6255825a6735 /audio/headset.c
parentfb2c49cfc95ee82f77df6b8242199599f5e9f9ee (diff)
Minor coding style fixes
Diffstat (limited to 'audio/headset.c')
-rw-r--r--audio/headset.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/audio/headset.c b/audio/headset.c
index 38127a90c..a95d5f465 100644
--- a/audio/headset.c
+++ b/audio/headset.c
@@ -386,7 +386,7 @@ static gboolean sco_connect_cb(GIOChannel *chan, GIOCondition cond,
hs->sco = chan;
c->io = NULL;
- g_slist_foreach(hs->pending, (GFunc)pending_connect_ok, device);
+ g_slist_foreach(hs->pending, (GFunc) pending_connect_ok, device);
g_slist_free(hs->pending);
hs->pending = NULL;
fcntl(sk, F_SETFL, 0);
@@ -396,7 +396,7 @@ static gboolean sco_connect_cb(GIOChannel *chan, GIOCondition cond,
return FALSE;
failed:
- g_slist_foreach(hs->pending, (GFunc)pending_connect_failed, device);
+ g_slist_foreach(hs->pending, (GFunc) pending_connect_failed, device);
g_slist_free(hs->pending);
hs->pending = NULL;
headset_set_state(device, HEADSET_STATE_CONNECTED);
@@ -519,14 +519,14 @@ static gboolean rfcomm_connect_cb(GIOChannel *chan, GIOCondition cond,
return FALSE;
}
- g_slist_foreach(hs->pending, (GFunc)pending_connect_ok, device);
+ g_slist_foreach(hs->pending, (GFunc) pending_connect_ok, device);
g_slist_free(hs->pending);
hs->pending = NULL;
return FALSE;
failed:
- g_slist_foreach(hs->pending, (GFunc)pending_connect_failed, device);
+ g_slist_foreach(hs->pending, (GFunc) pending_connect_failed, device);
g_slist_free(hs->pending);
hs->pending = NULL;
if (hs->rfcomm)
@@ -645,7 +645,7 @@ failed:
sdp_record_free(record);
if (reply)
dbus_message_unref(reply);
- g_slist_foreach(hs->pending, (GFunc)pending_connect_failed, device);
+ g_slist_foreach(hs->pending, (GFunc) pending_connect_failed, device);
g_slist_free(hs->pending);
hs->pending = NULL;
headset_set_state(device, HEADSET_STATE_DISCONNECTED);
@@ -747,7 +747,7 @@ failed:
if (msg)
dbus_message_unref(msg);
dbus_message_unref(reply);
- g_slist_foreach(hs->pending, (GFunc)pending_connect_failed, device);
+ g_slist_foreach(hs->pending, (GFunc) pending_connect_failed, device);
g_slist_free(hs->pending);
hs->pending = NULL;
headset_set_state(device, HEADSET_STATE_DISCONNECTED);