ecore-drm: Fixup formatting from D1696 patch
authorChris Michael <cp.michael@samsung.com>
Wed, 26 Nov 2014 14:08:55 +0000 (09:08 -0500)
committerChris Michael <cp.michael@samsung.com>
Wed, 26 Nov 2014 14:08:55 +0000 (09:08 -0500)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/lib/ecore_drm/ecore_drm_dbus.c

index 8a11f8f7e7f668ebe8defb7c54c4e8117dff6262..3776b1ea7a35289b548b57e3699f19d898c8824c 100644 (file)
@@ -101,8 +101,8 @@ _cb_device_resumed(void *ctxt EINA_UNUSED, const Eldbus_Message *msg)
 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);
 }
@@ -120,8 +120,10 @@ _cb_properties_changed(void *data EINA_UNUSED, Eldbus_Proxy *proxy EINA_UNUSED,
 
    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);
      }
 }