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.
This commit is contained in:
Stefan Schmidt 2015-08-06 10:31:24 +02:00
parent c53dfe4e59
commit 1c61bfe049
1 changed files with 2 additions and 2 deletions

View File

@ -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);