From d2df8c7362b780449800ff10afa4404b92f3b2a5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Roberto=20de=20Souza?= Date: Tue, 11 Dec 2012 19:52:24 +0000 Subject: [PATCH] edbus: Dont create proxy of FDO.Instropectable MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Patch by: José Roberto de Souza SVN revision: 80712 --- src/lib/edbus_object.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/edbus_object.c b/src/lib/edbus_object.c index 1a4f9b5..c3404ac 100644 --- a/src/lib/edbus_object.c +++ b/src/lib/edbus_object.c @@ -661,9 +661,9 @@ edbus_object_peer_machine_id_get(EDBus_Object *obj, EDBus_Message_Cb cb, const v EAPI EDBus_Pending * edbus_object_introspect(EDBus_Object *obj, EDBus_Message_Cb cb, const void *data) { - EDBus_Proxy *introspectable; + EDBus_Message *msg; EDBUS_OBJECT_CHECK_RETVAL(obj, NULL); - - introspectable = edbus_proxy_get(obj, EDBUS_FDO_INTERFACE_INTROSPECTABLE); - return edbus_proxy_call(introspectable, "Introspect", cb, data, -1, ""); + msg = edbus_object_method_call_new(obj, EDBUS_FDO_INTERFACE_INTROSPECTABLE, + "Introspect"); + return edbus_object_send(obj, msg, cb, data, -1); } -- 2.7.4