edbus: Dont create proxy of Object Manager on edbus_object_managed_objects_get()
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi> SVN revision: 80709
This commit is contained in:
parent
d3a279ff56
commit
4f05ef66e5
|
@ -73,7 +73,8 @@ edbus_name_start(EDBus_Connection *conn, const char *name, unsigned int flags, E
|
||||||
EAPI EDBus_Pending *
|
EAPI EDBus_Pending *
|
||||||
edbus_object_managed_objects_get(EDBus_Object *obj, EDBus_Message_Cb cb, const void *data)
|
edbus_object_managed_objects_get(EDBus_Object *obj, EDBus_Message_Cb cb, const void *data)
|
||||||
{
|
{
|
||||||
EDBus_Proxy *proxy;
|
EDBus_Message *msg;
|
||||||
proxy = edbus_proxy_get(obj, EDBUS_FDO_INTERFACE_OBJECT_MANAGER);
|
msg = edbus_object_method_call_new(obj, EDBUS_FDO_INTERFACE_OBJECT_MANAGER,
|
||||||
return edbus_proxy_call(proxy, "GetManagedObjects", cb, data, -1, "");
|
"GetManagedObjects");
|
||||||
|
return edbus_object_send(obj, msg, cb, data, -1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue