From: Guillaume Desmottes Date: Thu, 8 Apr 2010 13:18:43 +0000 (+0200) Subject: use tp_asv_set_double X-Git-Url: https://git.0d.be/?p=empathy.git;a=commitdiff_plain;h=a55eb11a5775dd27041f4b6555d527aa67ba0069 use tp_asv_set_double --- diff --git a/libempathy/empathy-contact.c b/libempathy/empathy-contact.c index c2bdc6a7..ef47fb38 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); }