There is no need to check for lon as lat, lon as always set togeter (they
are meaningless alone).
geocode_cb, contact);
g_hash_table_unref (address);
- return;
#endif
}
{
EmpathyContact *contact;
GHashTable *new_location;
- GValue *value;
contact = tp_contact_factory_find_by_handle (tp_factory, handle);
empathy_contact_set_location (contact, new_location);
g_hash_table_unref (new_location);
- value = g_hash_table_lookup (location, EMPATHY_LOCATION_LAT);
- if (value == NULL) {
- tp_contact_factory_geocode (contact);
- }
+ tp_contact_factory_geocode (contact);
}
static void