stefan pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=1c61bfe049340a5252b9c2986d801431852f36d5

commit 1c61bfe049340a5252b9c2986d801431852f36d5
Author: Stefan Schmidt <ste...@osg.samsung.com>
Date:   Thu Aug 6 10:31:24 2015 +0200

    module/geolocation: Use correct unref function for proxies.
    
    We used the manager unref for client and location as well. Looking at the
    generated code it does not make any difference right now but might do in
    the future so better fix this up.
---
 src/modules/geolocation/e_mod_main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/modules/geolocation/e_mod_main.c 
b/src/modules/geolocation/e_mod_main.c
index d3a71b0..5e78f0f 100644
--- a/src/modules/geolocation/e_mod_main.c
+++ b/src/modules/geolocation/e_mod_main.c
@@ -438,8 +438,8 @@ _gc_shutdown(E_Gadcon_Client *gcc)
    inst = gcc->data;
    geolocation_instances = eina_list_remove(geolocation_instances, inst);
    evas_object_del(inst->icon);
-   geo_clue2_manager_proxy_unref(inst->location);
-   geo_clue2_manager_proxy_unref(inst->client);
+   geo_clue2_location_proxy_unref(inst->location);
+   geo_clue2_client_proxy_unref(inst->client);
    geo_clue2_manager_proxy_unref(inst->manager);
    eldbus_connection_unref(inst->conn);
    free(inst);

-- 


Reply via email to