static void
_property_response_set(void *data EINA_UNUSED, const Eldbus_Message *msg, Eldbus_Pending *pending EINA_UNUSED)
{
- const char *errname;
- const char *errmsg;
+ const char *errname, *errmsg;
+
if (eldbus_message_error_get(msg, &errname, &errmsg))
ERR("Eldbus Message error %s - %s\n\n", errname, errmsg);
}
if (!strcmp(ev->name, "Active"))
{
- eldbus_proxy_property_set(proxy, "Active", "b", (void *)EINA_TRUE, _property_response_set, NULL);
- eldbus_proxy_property_set(proxy, "State", "s", &"active", _property_response_set, NULL);
+ eldbus_proxy_property_set(proxy, "Active", "b", (void *)EINA_TRUE,
+ _property_response_set, NULL);
+ eldbus_proxy_property_set(proxy, "State", "s", &"active",
+ _property_response_set, NULL);
}
}