[empathy] remove empathy_contact_manager_get_flags_for_connection()



commit 79f856c788de8662f09cbfda08434a4081a1f593
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Thu Nov 3 15:29:34 2011 +0100

    remove empathy_contact_manager_get_flags_for_connection()
    
    https://bugzilla.gnome.org/show_bug.cgi?id=663328

 libempathy/empathy-contact-manager.c |   22 ----------------------
 libempathy/empathy-contact-manager.h |    3 ---
 2 files changed, 0 insertions(+), 25 deletions(-)
---
diff --git a/libempathy/empathy-contact-manager.c b/libempathy/empathy-contact-manager.c
index 31750dc..1ec6cba 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 97e2146..4d14930 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
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]