summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-09-23 09:04:11 -0700
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-09-23 09:04:11 -0700
commit0c20e0b7a706307ffdb9a76c22634e9b2d50cc45 (patch)
tree3fa8ac32f7be8ccd41aa011895689d14913dac52
parentc2d31f21c68c5bb94a8a94e6dfe3fbad3e6d6bd9 (diff)
Mark ListDevices as deprecated.
-rw-r--r--src/adapter.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/adapter.c b/src/adapter.c
index 5e6affda..a59f2b12 100644
--- a/src/adapter.c
+++ b/src/adapter.c
@@ -1986,7 +1986,8 @@ static GDBusMethodTable adapter_methods[] = {
{ "StartDiscovery", "", "", adapter_start_discovery },
{ "StopDiscovery", "", "", adapter_stop_discovery,
G_DBUS_METHOD_FLAG_ASYNC},
- { "ListDevices", "", "ao", list_devices },
+ { "ListDevices", "", "ao", list_devices,
+ G_DBUS_METHOD_FLAG_DEPRECATED},
{ "CreateDevice", "s", "o", create_device,
G_DBUS_METHOD_FLAG_ASYNC},
{ "CreatePairedDevice", "sos", "o", create_paired_device,