aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-contact.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy/empathy-contact.c')
-rw-r--r--libempathy/empathy-contact.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy/empathy-contact.c b/libempathy/empathy-contact.c
index c2bdc6a7a..ef47fb380 100644
--- a/libempathy/empathy-contact.c
+++ b/libempathy/empathy-contact.c
@@ -1267,8 +1267,8 @@ geocode_cb (GeoclueGeocode *geocode,
if (fields & GEOCLUE_POSITION_FIELDS_ALTITUDE &&
g_hash_table_lookup (new_location, EMPATHY_LOCATION_LAT) == NULL)
{
- g_hash_table_insert (new_location, g_strdup (EMPATHY_LOCATION_ALT),
- tp_g_value_slice_new_double (altitude));
+ tp_asv_set_double (new_location, g_strdup (EMPATHY_LOCATION_ALT),
+ altitude);
DEBUG ("\t - Altitude: %f", altitude);
}