aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2010-04-29 17:44:49 +0800
committerXavier Claessens <xclaesse@gmail.com>2010-05-02 03:47:54 +0800
commit97fc0a1dd8bd6bd293a09ce0dc34281068ccd620 (patch)
tree153e4c8f31db7be2e216f24e5567d27fee3c8407 /libempathy
parentae49c73f899c8156333813484c6429fde8ce811a (diff)
downloadgsoc2013-empathy-97fc0a1dd8bd6bd293a09ce0dc34281068ccd620.tar
gsoc2013-empathy-97fc0a1dd8bd6bd293a09ce0dc34281068ccd620.tar.gz
gsoc2013-empathy-97fc0a1dd8bd6bd293a09ce0dc34281068ccd620.tar.bz2
gsoc2013-empathy-97fc0a1dd8bd6bd293a09ce0dc34281068ccd620.tar.lz
gsoc2013-empathy-97fc0a1dd8bd6bd293a09ce0dc34281068ccd620.tar.xz
gsoc2013-empathy-97fc0a1dd8bd6bd293a09ce0dc34281068ccd620.tar.zst
gsoc2013-empathy-97fc0a1dd8bd6bd293a09ce0dc34281068ccd620.zip
No need of a contact factory to set location
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-tp-contact-factory.c29
-rw-r--r--libempathy/empathy-tp-contact-factory.h2
2 files changed, 0 insertions, 31 deletions
diff --git a/libempathy/empathy-tp-contact-factory.c b/libempathy/empathy-tp-contact-factory.c
index bbb3886ae..068c62d62 100644
--- a/libempathy/empathy-tp-contact-factory.c
+++ b/libempathy/empathy-tp-contact-factory.c
@@ -125,17 +125,6 @@ tp_contact_factory_set_aliases_cb (TpConnection *connection,
}
static void
-tp_contact_factory_set_location_cb (TpConnection *tp_conn,
- const GError *error,
- gpointer user_data,
- GObject *weak_object)
-{
- if (error != NULL) {
- DEBUG ("Error setting location: %s", error->message);
- }
-}
-
-static void
tp_contact_factory_avatar_retrieved_cb (TpConnection *connection,
guint handle,
const gchar *token,
@@ -731,24 +720,6 @@ empathy_tp_contact_factory_set_alias (EmpathyTpContactFactory *tp_factory,
g_hash_table_destroy (new_alias);
}
-void
-empathy_tp_contact_factory_set_location (EmpathyTpContactFactory *tp_factory,
- GHashTable *location)
-{
- EmpathyTpContactFactoryPriv *priv = GET_PRIV (tp_factory);
-
- g_return_if_fail (EMPATHY_IS_TP_CONTACT_FACTORY (tp_factory));
-
- DEBUG ("Setting location");
-
- tp_cli_connection_interface_location_call_set_location (priv->connection,
- -1,
- location,
- tp_contact_factory_set_location_cb,
- NULL, NULL,
- G_OBJECT (tp_factory));
-}
-
static void
tp_contact_factory_get_property (GObject *object,
guint param_id,
diff --git a/libempathy/empathy-tp-contact-factory.h b/libempathy/empathy-tp-contact-factory.h
index 4cce6ec6a..d2572f298 100644
--- a/libempathy/empathy-tp-contact-factory.h
+++ b/libempathy/empathy-tp-contact-factory.h
@@ -104,8 +104,6 @@ void empathy_tp_contact_factory_get_from_handle (EmpathyTpC
void empathy_tp_contact_factory_set_alias (EmpathyTpContactFactory *tp_factory,
EmpathyContact *contact,
const gchar *alias);
-void empathy_tp_contact_factory_set_location (EmpathyTpContactFactory *tp_factory,
- GHashTable *location);
G_END_DECLS
#endif /* __EMPATHY_TP_CONTACT_FACTORY_H__ */