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. --- network/connection.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'network') 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" }, { } }; -- cgit