aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/empathy-map-view.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/empathy-map-view.c b/src/empathy-map-view.c
index 8c6dc54e6..17d73d67f 100644
--- a/src/empathy-map-view.c
+++ b/src/empathy-map-view.c
@@ -216,11 +216,7 @@ map_view_geocode_cb (GeoclueGeocode *geocode,
/* Don't change the accuracy as we used an address to get this position */
- /* Ref the location hash table as it will be unref'd in set_location,
- * and we are only updating it */
- g_hash_table_ref (location);
- empathy_contact_set_location (EMPATHY_CONTACT (userdata), location);
- g_hash_table_unref (location);
+ g_object_notify (userdata, "location");
}
#endif