summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-09-23 14:12:06 -0700
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-09-23 17:54:01 -0700
commit1906413abac75b33c05908d458fa74dc5de004c4 (patch)
tree8ca8f8a2dead3bf92b7745a9217d835c7e323875
parentf71b0700e2b824ffc25de43dd6d91186b5e2d63e (diff)
downloadbluez-1906413abac75b33c05908d458fa74dc5de004c4.tar.gz
Mark RequestMode/ReleaseMode as deprecated.
-rw-r--r--src/adapter.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/adapter.c b/src/adapter.c
index 4a6ea8c2e..c02d0c2d1 100644
--- a/src/adapter.c
+++ b/src/adapter.c
@@ -1981,8 +1981,10 @@ static GDBusMethodTable adapter_methods[] = {
{ "SetProperty", "sv", "", set_property,
G_DBUS_METHOD_FLAG_ASYNC},
{ "RequestMode", "s", "", request_mode,
- G_DBUS_METHOD_FLAG_ASYNC},
- { "ReleaseMode", "", "", release_mode },
+ G_DBUS_METHOD_FLAG_ASYNC |
+ G_DBUS_METHOD_FLAG_DEPRECATED},
+ { "ReleaseMode", "", "", release_mode,
+ G_DBUS_METHOD_FLAG_DEPRECATED},
{ "StartDiscovery", "", "", adapter_start_discovery },
{ "StopDiscovery", "", "", adapter_stop_discovery,
G_DBUS_METHOD_FLAG_ASYNC},