From a55eb11a5775dd27041f4b6555d527aa67ba0069 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Thu, 8 Apr 2010 15:18:43 +0200 Subject: use tp_asv_set_double --- libempathy/empathy-contact.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libempathy/empathy-contact.c') 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); } -- cgit v1.2.3