edbus: Add proxy to Proxy_Event_Property_Changed
authorJosé Roberto de Souza <zehortigoza@profusion.mobi>
Tue, 11 Dec 2012 19:50:45 +0000 (19:50 +0000)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Tue, 11 Dec 2012 19:50:45 +0000 (19:50 +0000)
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>

SVN revision: 80695

legacy/edbus/src/lib/edbus_proxy.c
legacy/edbus/src/lib/edbus_proxy.h

index 43d3df3..ba20b8f 100644 (file)
@@ -299,6 +299,7 @@ _property_changed_iter(void *data, const void *key, EDBus_Message_Iter *var)
 
    event.name = skey;
    event.value = value;
+   event.proxy = proxy;
    _edbus_proxy_event_callback_call(proxy, EDBUS_PROXY_EVENT_PROPERTY_CHANGED,
                                     &event);
    eina_value_free(st_value);
index 3f00015..263d05e 100644 (file)
@@ -109,13 +109,14 @@ typedef enum
 typedef struct _EDBus_Proxy_Event_Property_Changed
 {
    const char       *name;
+   const EDBus_Proxy *proxy;
    const Eina_Value *value;
 } EDBus_Proxy_Event_Property_Changed;
 
 typedef struct _EDBus_Proxy_Event_Property_Removed
 {
    const char  *interface;
-   EDBus_Proxy *proxy;
+   const EDBus_Proxy *proxy;
    const char  *name;
 } EDBus_Proxy_Event_Property_Removed;