device: Combine two if statements with identical outcome
[framework/connectivity/connman.git] / plugins / nmcompat.c
index 680cdf8..400389b 100644 (file)
@@ -221,16 +221,16 @@ static DBusMessage *property_get(DBusConnection *conn,
 }
 
 static const GDBusMethodTable methods[] = {
-       { _GDBUS_METHOD("Get", "ss", "v",
+       { GDBUS_METHOD("Get",
                        GDBUS_ARGS({ "interface", "s" }, { "key", "s" }),
                        GDBUS_ARGS({ "property", "v" }), property_get) },
        { },
 };
 
 static const GDBusSignalTable signals[] = {
-       { _GDBUS_SIGNAL("PropertiesChanged", "a{sv}",
+       { GDBUS_SIGNAL("PropertiesChanged",
                        GDBUS_ARGS({ "properties", "a{sv}" })) },
-       { _GDBUS_SIGNAL("StateChanged", "u",
+       { GDBUS_SIGNAL("StateChanged",
                        GDBUS_ARGS({ "state", "u" })) },
        { },
 };