summaryrefslogtreecommitdiff
path: root/profiles/audio/control.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2015-09-28 16:54:18 +0300
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2015-09-29 16:43:54 +0300
commit9f0985ca0add84fedb5bb98a908b465e88ec61ea (patch)
treec1c04aa57ea0f69c0b1ca9b63add4d4e0022929c /profiles/audio/control.c
parent8912d0f04365c2ec584db15611af26f6baa78107 (diff)
downloadbluez-9f0985ca0add84fedb5bb98a908b465e88ec61ea.tar.gz
audio/control: Mark all methods of MediaControl1 as deprecated
MediaControl1 is deprecated according to its documentation.
Diffstat (limited to 'profiles/audio/control.c')
-rw-r--r--profiles/audio/control.c20
1 files changed, 11 insertions, 9 deletions
diff --git a/profiles/audio/control.c b/profiles/audio/control.c
index f4656d852..d109d1ffa 100644
--- a/profiles/audio/control.c
+++ b/profiles/audio/control.c
@@ -216,15 +216,17 @@ static gboolean control_property_get_connected(
}
static const GDBusMethodTable control_methods[] = {
- { GDBUS_METHOD("Play", NULL, NULL, control_play) },
- { GDBUS_METHOD("Pause", NULL, NULL, control_pause) },
- { GDBUS_METHOD("Stop", NULL, NULL, control_stop) },
- { GDBUS_METHOD("Next", NULL, NULL, control_next) },
- { GDBUS_METHOD("Previous", NULL, NULL, control_previous) },
- { GDBUS_METHOD("VolumeUp", NULL, NULL, control_volume_up) },
- { GDBUS_METHOD("VolumeDown", NULL, NULL, control_volume_down) },
- { GDBUS_METHOD("FastForward", NULL, NULL, control_fast_forward) },
- { GDBUS_METHOD("Rewind", NULL, NULL, control_rewind) },
+ { GDBUS_DEPRECATED_METHOD("Play", NULL, NULL, control_play) },
+ { GDBUS_DEPRECATED_METHOD("Pause", NULL, NULL, control_pause) },
+ { GDBUS_DEPRECATED_METHOD("Stop", NULL, NULL, control_stop) },
+ { GDBUS_DEPRECATED_METHOD("Next", NULL, NULL, control_next) },
+ { GDBUS_DEPRECATED_METHOD("Previous", NULL, NULL, control_previous) },
+ { GDBUS_DEPRECATED_METHOD("VolumeUp", NULL, NULL, control_volume_up) },
+ { GDBUS_DEPRECATED_METHOD("VolumeDown", NULL, NULL,
+ control_volume_down) },
+ { GDBUS_DEPRECATED_METHOD("FastForward", NULL, NULL,
+ control_fast_forward) },
+ { GDBUS_DEPRECATED_METHOD("Rewind", NULL, NULL, control_rewind) },
{ }
};