Diff between c98f635b446d0137f719612853a41e38fb43a1ff and 9c6e404f93120f30b3cbb1a74b34ca34fb14ec65

Changed Files

File Additions Deletions Status
audio/headset.c +2 -1 modified
doc/audio-api.txt +1 -1 modified

Full Patch

diff --git a/audio/headset.c b/audio/headset.c
index e7a4ea4..5a38877 100644
--- a/audio/headset.c
+++ b/audio/headset.c
@@ -2059,7 +2059,8 @@ static GDBusMethodTable headset_methods[] = {
 	{ "IndicateCall",	"",	"",	hs_ring },
 	{ "CancelCall",		"",	"",	hs_cancel_call },
 	{ "Play",		"",	"",	hs_play,
-						G_DBUS_METHOD_FLAG_ASYNC },
+						G_DBUS_METHOD_FLAG_ASYNC |
+						G_DBUS_METHOD_FLAG_DEPRECATED },
 	{ "Stop",		"",	"",	hs_stop },
 	{ "IsPlaying",		"",	"b",	hs_is_playing,
 						G_DBUS_METHOD_FLAG_DEPRECATED },
diff --git a/doc/audio-api.txt b/doc/audio-api.txt
index e7991f3..0f320d9 100644
--- a/doc/audio-api.txt
+++ b/doc/audio-api.txt
@@ -81,7 +81,7 @@ Methods		void Connect()
 
 			Cancel the incoming call indication.
 
-		void Play()
+		void Play() {deprecated}
 
 			Open the audio connection to the headset.