diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-04-08 21:50:48 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-04-08 21:51:51 +0800 |
commit | 1c41a18e144b49a0ed793d907db93a049a9d1354 (patch) | |
tree | 58652d136d43f00c0e7a557211f49b68b8f90ba1 /libempathy/empathy-contact.c | |
parent | a55eb11a5775dd27041f4b6555d527aa67ba0069 (diff) | |
download | gsoc2013-empathy-1c41a18e144b49a0ed793d907db93a049a9d1354.tar gsoc2013-empathy-1c41a18e144b49a0ed793d907db93a049a9d1354.tar.gz gsoc2013-empathy-1c41a18e144b49a0ed793d907db93a049a9d1354.tar.bz2 gsoc2013-empathy-1c41a18e144b49a0ed793d907db93a049a9d1354.tar.lz gsoc2013-empathy-1c41a18e144b49a0ed793d907db93a049a9d1354.tar.xz gsoc2013-empathy-1c41a18e144b49a0ed793d907db93a049a9d1354.tar.zst gsoc2013-empathy-1c41a18e144b49a0ed793d907db93a049a9d1354.zip |
look for the right key when checking if altitude is set
Diffstat (limited to 'libempathy/empathy-contact.c')
-rw-r--r-- | libempathy/empathy-contact.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy/empathy-contact.c b/libempathy/empathy-contact.c index ef47fb380..35cfd3a98 100644 --- a/libempathy/empathy-contact.c +++ b/libempathy/empathy-contact.c @@ -1265,7 +1265,7 @@ geocode_cb (GeoclueGeocode *geocode, /* Set the altitude only if it wasn't defined before */ if (fields & GEOCLUE_POSITION_FIELDS_ALTITUDE && - g_hash_table_lookup (new_location, EMPATHY_LOCATION_LAT) == NULL) + g_hash_table_lookup (new_location, EMPATHY_LOCATION_ALT) == NULL) { tp_asv_set_double (new_location, g_strdup (EMPATHY_LOCATION_ALT), altitude); |