From 1c41a18e144b49a0ed793d907db93a049a9d1354 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Thu, 8 Apr 2010 15:50:48 +0200 Subject: look for the right key when checking if altitude is set --- libempathy/empathy-contact.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3