diff options
| -rw-r--r-- | audio/headset.c | 12 | ||||
| -rw-r--r-- | audio/manager.c | 2 | 
2 files changed, 7 insertions, 7 deletions
diff --git a/audio/headset.c b/audio/headset.c index 38127a90..a95d5f46 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); diff --git a/audio/manager.c b/audio/manager.c index 23811ae2..b84d684b 100644 --- a/audio/manager.c +++ b/audio/manager.c @@ -1186,7 +1186,7 @@ static void manager_unregister(DBusConnection *conn, void *data)  	info("Unregistered manager path");  	if (devices) { -		g_slist_foreach(devices, (GFunc)remove_device, NULL); +		g_slist_foreach(devices, (GFunc) remove_device, NULL);  		g_slist_free(devices);  		devices = NULL;  	}  | 
