summaryrefslogtreecommitdiffstats
path: root/audio/control.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-10-02 19:16:39 -0300
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-10-02 19:16:39 -0300
commitacf2a8a0b31a273a49121c8380cc5ac65d8f4dfb (patch)
treec45743d7b6b8fce3e2f96e5c5049bc4c3793200d /audio/control.c
parent737e08aa766744772b07bf1f35f3aa50d9bf63f0 (diff)
Mark old plugins API as deprecated.
Diffstat (limited to 'audio/control.c')
-rw-r--r--audio/control.c7
1 files changed, 4 insertions, 3 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 }
};