service: Set deprecated flag for GetProperties method
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 17 May 2012 18:08:00 +0000 (11:08 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 17 May 2012 18:08:00 +0000 (11:08 -0700)
src/service.c

index 9e52dd3..83c87de 100644 (file)
@@ -3812,7 +3812,8 @@ static void service_schedule_removed(struct connman_service *service)
 }
 
 static GDBusMethodTable service_methods[] = {
-       { "GetProperties", "",   "a{sv}", get_properties     },
+       { "GetProperties", "",   "a{sv}", get_properties,
+                                               G_DBUS_METHOD_FLAG_DEPRECATED },
        { "SetProperty",   "sv", "",      set_property       },
        { "ClearProperty", "s",  "",      clear_property     },
        { "Connect",       "",   "",      connect_service,