stefan pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=c79d0b1f8c42fed8cfc5eb0b28b9792251707517
commit c79d0b1f8c42fed8cfc5eb0b28b9792251707517 Author: Stefan Schmidt <[email protected]> Date: Wed Apr 22 13:54:51 2015 +0200 module/geolocation: Stop setting gadget icon from start and stop callbacks We keep track of this now by monitoring the InUse property which works also if other clients use the service. --- src/modules/geolocation/e_mod_main.c | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/src/modules/geolocation/e_mod_main.c b/src/modules/geolocation/e_mod_main.c index 8b8f22d..641ab14 100644 --- a/src/modules/geolocation/e_mod_main.c +++ b/src/modules/geolocation/e_mod_main.c @@ -147,25 +147,17 @@ popup_new(Instance *inst) } void -cb_client_start(Eldbus_Proxy *proxy EINA_UNUSED, void *data, Eldbus_Pending *pending EINA_UNUSED, - Eldbus_Error_Info *error EINA_UNUSED) +cb_client_start(Eldbus_Proxy *proxy EINA_UNUSED, void *data EINA_UNUSED, + Eldbus_Pending *pending EINA_UNUSED, Eldbus_Error_Info *error EINA_UNUSED) { - Instance *inst = data; - DBG("Client proxy start callback received"); - - edje_object_signal_emit(inst->icon, "e,state,location_on", "e"); } void -cb_client_stop(Eldbus_Proxy *proxy EINA_UNUSED, void *data, Eldbus_Pending *pending EINA_UNUSED, - Eldbus_Error_Info *error EINA_UNUSED) +cb_client_stop(Eldbus_Proxy *proxy EINA_UNUSED, void *data EINA_UNUSED, + Eldbus_Pending *pending EINA_UNUSED, Eldbus_Error_Info *error EINA_UNUSED) { - Instance *inst = data; - DBG("Client proxy stop callback received"); - - edje_object_signal_emit(inst->icon, "e,state,location_off", "e"); } static void --
