From: Guillaume Desmottes Date: Thu, 8 Apr 2010 13:50:48 +0000 (+0200) Subject: look for the right key when checking if altitude is set X-Git-Url: https://git.0d.be/?p=empathy.git;a=commitdiff_plain;h=1c41a18e144b49a0ed793d907db93a049a9d1354 look for the right key when checking if altitude is set --- diff --git a/libempathy/empathy-contact.c b/libempathy/empathy-contact.c index ef47fb38..35cfd3a9 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);