static void contact_set_property (GObject *object, guint param_id,
const GValue *value, GParamSpec *pspec);
+#if HAVE_GEOCLUE
static void update_geocode (EmpathyContact *contact);
+#endif
static void empathy_contact_set_location (EmpathyContact *contact,
GHashTable *location);
g_hash_table_unref (priv->location);
priv->location = g_hash_table_ref (location);
+#if HAVE_GEOCLUE
update_geocode (contact);
+#endif
g_object_notify (G_OBJECT (contact), "location");
}
g_object_unref (geocode);
g_object_unref (contact);
}
-#endif
-#if HAVE_GEOCLUE
static gchar *
get_dup_string (GHashTable *location,
gchar *key)
return NULL;
}
-#endif
static void
update_geocode (EmpathyContact *contact)
{
-#if HAVE_GEOCLUE
static GeoclueGeocode *geocode;
gchar *str;
GHashTable *address;
geocode_cb, contact);
g_hash_table_unref (address);
-#endif
}
+#endif