aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-11-03 22:29:34 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-11-28 19:09:55 +0800
commit79f856c788de8662f09cbfda08434a4081a1f593 (patch)
treec849ba4047a2377ede7f9d71d64eecd0438873ef /libempathy
parentfb2b5ea4bbbc4ac7a1a1353cb162ec2d4524eb17 (diff)
downloadgsoc2013-empathy-79f856c788de8662f09cbfda08434a4081a1f593.tar
gsoc2013-empathy-79f856c788de8662f09cbfda08434a4081a1f593.tar.gz
gsoc2013-empathy-79f856c788de8662f09cbfda08434a4081a1f593.tar.bz2
gsoc2013-empathy-79f856c788de8662f09cbfda08434a4081a1f593.tar.lz
gsoc2013-empathy-79f856c788de8662f09cbfda08434a4081a1f593.tar.xz
gsoc2013-empathy-79f856c788de8662f09cbfda08434a4081a1f593.tar.zst
gsoc2013-empathy-79f856c788de8662f09cbfda08434a4081a1f593.zip
remove empathy_contact_manager_get_flags_for_connection()
https://bugzilla.gnome.org/show_bug.cgi?id=663328
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-contact-manager.c22
-rw-r--r--libempathy/empathy-contact-manager.h3
2 files changed, 0 insertions, 25 deletions
diff --git a/libempathy/empathy-contact-manager.c b/libempathy/empathy-contact-manager.c
index 31750dcfe..1ec6cba18 100644
--- a/libempathy/empathy-contact-manager.c
+++ b/libempathy/empathy-contact-manager.c
@@ -576,25 +576,3 @@ contact_manager_iface_init (EmpathyContactListIface *iface)
iface->rename_group = contact_manager_rename_group;
iface->remove_group = contact_manager_remove_group;
}
-
-EmpathyContactListFlags
-empathy_contact_manager_get_flags_for_connection (
- EmpathyContactManager *manager,
- TpConnection *connection)
-{
- EmpathyContactManagerPriv *priv = GET_PRIV (manager);
- EmpathyContactList *list;
- EmpathyContactListFlags flags;
-
- g_return_val_if_fail (EMPATHY_IS_CONTACT_MANAGER (manager), FALSE);
- g_return_val_if_fail (connection != NULL, FALSE);
-
- list = g_hash_table_lookup (priv->lists, connection);
- if (list == NULL) {
- return FALSE;
- }
- flags = empathy_contact_list_get_flags (list);
-
- return flags;
-}
-
diff --git a/libempathy/empathy-contact-manager.h b/libempathy/empathy-contact-manager.h
index 97e21464a..4d1493091 100644
--- a/libempathy/empathy-contact-manager.h
+++ b/libempathy/empathy-contact-manager.h
@@ -54,9 +54,6 @@ gboolean empathy_contact_manager_initialized (void);
EmpathyContactManager *empathy_contact_manager_dup_singleton (void);
EmpathyTpContactList * empathy_contact_manager_get_list (EmpathyContactManager *manager,
TpConnection *connection);
-EmpathyContactListFlags empathy_contact_manager_get_flags_for_connection (
- EmpathyContactManager *manager,
- TpConnection *connection);
G_END_DECLS