From acf2a8a0b31a273a49121c8380cc5ac65d8f4dfb Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Thu, 2 Oct 2008 19:16:39 -0300 Subject: Mark old plugins API as deprecated. --- audio/sink.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'audio/sink.c') 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 } }; -- cgit