summaryrefslogtreecommitdiffstats
path: root/network/connection.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 /network/connection.c
parent737e08aa766744772b07bf1f35f3aa50d9bf63f0 (diff)
Mark old plugins API as deprecated.
Diffstat (limited to 'network/connection.c')
-rw-r--r--network/connection.c7
1 files changed, 4 insertions, 3 deletions
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" },
{ }
};