aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-04-08 21:18:43 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-04-08 21:51:51 +0800
commita55eb11a5775dd27041f4b6555d527aa67ba0069 (patch)
treef5152b7ffdeecc00d5f3f9a46aa9dc4d332b4ad1
parente303afdaf2cdfde7467cffd9b311074e205281f0 (diff)
downloadgsoc2013-empathy-a55eb11a5775dd27041f4b6555d527aa67ba0069.tar
gsoc2013-empathy-a55eb11a5775dd27041f4b6555d527aa67ba0069.tar.gz
gsoc2013-empathy-a55eb11a5775dd27041f4b6555d527aa67ba0069.tar.bz2
gsoc2013-empathy-a55eb11a5775dd27041f4b6555d527aa67ba0069.tar.lz
gsoc2013-empathy-a55eb11a5775dd27041f4b6555d527aa67ba0069.tar.xz
gsoc2013-empathy-a55eb11a5775dd27041f4b6555d527aa67ba0069.tar.zst
gsoc2013-empathy-a55eb11a5775dd27041f4b6555d527aa67ba0069.zip
use tp_asv_set_double
-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);
}