diff options
Diffstat (limited to 'profiles/audio/control.c')
-rw-r--r-- | profiles/audio/control.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/profiles/audio/control.c b/profiles/audio/control.c index 9110b0fb..f4656d85 100644 --- a/profiles/audio/control.c +++ b/profiles/audio/control.c @@ -71,7 +71,8 @@ struct control { }; static void state_changed(struct btd_device *dev, avctp_state_t old_state, - avctp_state_t new_state, void *user_data) + avctp_state_t new_state, int err, + void *user_data) { struct control *control = user_data; DBusConnection *conn = btd_get_dbus_connection(); @@ -337,13 +338,3 @@ int control_init_remote(struct btd_service *service) return 0; } - -gboolean control_is_active(struct btd_service *service) -{ - struct control *control = btd_service_get_user_data(service); - - if (control && control->session) - return TRUE; - - return FALSE; -} |