Patch by: Lucas De Marchi <lucas.de.marchi@gmail.com>
SVN revision: 80705
obj = edbus_connection_name_object_get(conn, bus, path);
if (obj)
- {
- edbus_object_ref(obj);
- return obj;
- }
+ return edbus_object_ref(obj);
obj = calloc(1, sizeof(EDBus_Object));
EINA_SAFETY_ON_NULL_RETURN_VAL(obj, NULL);
proxy = edbus_object_proxy_get(obj, interface);
if (proxy)
- {
- edbus_proxy_ref(proxy);
- return proxy;
- }
+ return edbus_proxy_ref(proxy);
proxy = calloc(1, sizeof(EDBus_Proxy));
EINA_SAFETY_ON_NULL_RETURN_VAL(proxy, NULL);