summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--audio/control.c7
-rw-r--r--audio/headset.c27
-rw-r--r--audio/sink.c11
-rw-r--r--input/device.c7
-rw-r--r--network/connection.c7
5 files changed, 34 insertions, 25 deletions
diff --git a/audio/control.c b/audio/control.c
index 6326eb53..124de432 100644
--- a/audio/control.c
+++ b/audio/control.c
@@ -976,14 +976,15 @@ static DBusMessage *control_get_properties(DBusConnection *conn,
}
static GDBusMethodTable control_methods[] = {
- { "IsConnected", "", "b", control_is_connected },
+ { "IsConnected", "", "b", control_is_connected,
+ G_DBUS_METHOD_FLAG_DEPRECATED },
{ "GetProperties", "", "a{sv}",control_get_properties },
{ NULL, NULL, NULL, NULL }
};
static GDBusSignalTable control_signals[] = {
- { "Connected", "" },
- { "Disconnected", "" },
+ { "Connected", "", G_DBUS_SIGNAL_FLAG_DEPRECATED},
+ { "Disconnected", "", G_DBUS_SIGNAL_FLAG_DEPRECATED},
{ "PropertyChanged", "sv" },
{ NULL, NULL }
};
diff --git a/audio/headset.c b/audio/headset.c
index f85f053a..f7cc9ecf 100644
--- a/audio/headset.c
+++ b/audio/headset.c
@@ -1767,24 +1767,29 @@ static GDBusMethodTable headset_methods[] = {
{ "Play", "", "", hs_play,
G_DBUS_METHOD_FLAG_ASYNC },
{ "Stop", "", "", hs_stop },
- { "IsPlaying", "", "b", hs_is_playing },
- { "GetSpeakerGain", "", "q", hs_get_speaker_gain },
- { "GetMicrophoneGain", "", "q", hs_get_mic_gain },
- { "SetSpeakerGain", "q", "", hs_set_speaker_gain },
- { "SetMicrophoneGain", "q", "", hs_set_mic_gain },
+ { "IsPlaying", "", "b", hs_is_playing,
+ G_DBUS_METHOD_FLAG_DEPRECATED },
+ { "GetSpeakerGain", "", "q", hs_get_speaker_gain,
+ G_DBUS_METHOD_FLAG_DEPRECATED },
+ { "GetMicrophoneGain", "", "q", hs_get_mic_gain,
+ G_DBUS_METHOD_FLAG_DEPRECATED },
+ { "SetSpeakerGain", "q", "", hs_set_speaker_gain,
+ G_DBUS_METHOD_FLAG_DEPRECATED },
+ { "SetMicrophoneGain", "q", "", hs_set_mic_gain,
+ G_DBUS_METHOD_FLAG_DEPRECATED },
{ "GetProperties", "", "a{sv}",hs_get_properties },
{ "SetProperty", "sv", "", hs_set_property },
{ NULL, NULL, NULL, NULL }
};
static GDBusSignalTable headset_signals[] = {
- { "Connected", "" },
- { "Disconnected", "" },
+ { "Connected", "", G_DBUS_SIGNAL_FLAG_DEPRECATED },
+ { "Disconnected", "", G_DBUS_SIGNAL_FLAG_DEPRECATED },
{ "AnswerRequested", "" },
- { "Stopped", "" },
- { "Playing", "" },
- { "SpeakerGainChanged", "q" },
- { "MicrophoneGainChanged", "q" },
+ { "Stopped", "", G_DBUS_SIGNAL_FLAG_DEPRECATED },
+ { "Playing", "", G_DBUS_SIGNAL_FLAG_DEPRECATED },
+ { "SpeakerGainChanged", "q", G_DBUS_SIGNAL_FLAG_DEPRECATED },
+ { "MicrophoneGainChanged", "q", G_DBUS_SIGNAL_FLAG_DEPRECATED },
{ "CallTerminated", "" },
{ "PropertyChanged", "sv" },
{ NULL, NULL }
diff --git a/audio/sink.c b/audio/sink.c
index e90ad0e3..f5256274 100644
--- a/audio/sink.c
+++ b/audio/sink.c
@@ -546,16 +546,17 @@ static GDBusMethodTable sink_methods[] = {
G_DBUS_METHOD_FLAG_ASYNC },
{ "Disconnect", "", "", sink_disconnect,
G_DBUS_METHOD_FLAG_ASYNC },
- { "IsConnected", "", "b", sink_is_connected },
+ { "IsConnected", "", "b", sink_is_connected,
+ G_DBUS_METHOD_FLAG_DEPRECATED },
{ "GetProperties", "", "a{sv}",sink_get_properties },
{ NULL, NULL, NULL, NULL }
};
static GDBusSignalTable sink_signals[] = {
- { "Connected", "" },
- { "Disconnected", "" },
- { "Playing", "" },
- { "Stopped", "" },
+ { "Connected", "", G_DBUS_SIGNAL_FLAG_DEPRECATED },
+ { "Disconnected", "", G_DBUS_SIGNAL_FLAG_DEPRECATED },
+ { "Playing", "", G_DBUS_SIGNAL_FLAG_DEPRECATED },
+ { "Stopped", "", G_DBUS_SIGNAL_FLAG_DEPRECATED },
{ "PropertyChanged", "sv" },
{ NULL, NULL }
};
diff --git a/input/device.c b/input/device.c
index 90b4b9ad..dd5ac823 100644
--- a/input/device.c
+++ b/input/device.c
@@ -1017,14 +1017,15 @@ static GDBusMethodTable device_methods[] = {
{ "Connect", "", "", device_connect,
G_DBUS_METHOD_FLAG_ASYNC },
{ "Disconnect", "", "", device_disconnect },
- { "IsConnected", "", "b", device_is_connected },
+ { "IsConnected", "", "b", device_is_connected,
+ G_DBUS_METHOD_FLAG_DEPRECATED },
{ "GetProperties", "", "a{sv}",device_get_properties },
{ }
};
static GDBusSignalTable device_signals[] = {
- { "Connected", "" },
- { "Disconnected", "" },
+ { "Connected", "", G_DBUS_SIGNAL_FLAG_DEPRECATED},
+ { "Disconnected", "", G_DBUS_SIGNAL_FLAG_DEPRECATED},
{ "PropertyChanged", "sv" },
{ }
};
diff --git a/network/connection.c b/network/connection.c
index b2f81991..27aa2546 100644
--- a/network/connection.c
+++ b/network/connection.c
@@ -521,14 +521,15 @@ static GDBusMethodTable connection_methods[] = {
{ "Connect", "s", "s", connection_connect,
G_DBUS_METHOD_FLAG_ASYNC },
{ "Disconnect", "", "", connection_disconnect },
- { "IsConnected", "", "b", is_connected },
+ { "IsConnected", "", "b", is_connected,
+ G_DBUS_METHOD_FLAG_DEPRECATED },
{ "GetProperties", "", "a{sv}",connection_get_properties },
{ }
};
static GDBusSignalTable connection_signals[] = {
- { "Connected", "ss" },
- { "Disconnected", "s" },
+ { "Connected", "", G_DBUS_SIGNAL_FLAG_DEPRECATED},
+ { "Disconnected", "", G_DBUS_SIGNAL_FLAG_DEPRECATED},
{ "PropertyChanged", "sv" },
{ }
};