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

index fd4f767..cc613a8 100644 (file)
@@ -859,7 +859,8 @@ static DBusMessage *scan(DBusConnection *conn, DBusMessage *msg, void *data)
 }
 
 static GDBusMethodTable technology_methods[] = {
-       { "GetProperties", "",   "a{sv}", get_properties },
+       { "GetProperties", "",   "a{sv}", get_properties,
+                                               G_DBUS_METHOD_FLAG_DEPRECATED },
        { "SetProperty",   "sv", "",      set_property   },
        { "Scan",          "",    "",     scan,
                                                G_DBUS_METHOD_FLAG_ASYNC },