[empathy] contact-list: remove flags
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] contact-list: remove flags
- Date: Mon, 28 Nov 2011 11:34:52 +0000 (UTC)
commit 1cbe27fc9f7be998703fba83f573906d7da15912
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Tue Nov 8 16:55:15 2011 +0100
contact-list: remove flags
https://bugzilla.gnome.org/show_bug.cgi?id=663328
libempathy/empathy-contact-list.c | 12 ------------
libempathy/empathy-contact-list.h | 13 -------------
2 files changed, 0 insertions(+), 25 deletions(-)
---
diff --git a/libempathy/empathy-contact-list.c b/libempathy/empathy-contact-list.c
index 38d0a44..3f24998 100644
--- a/libempathy/empathy-contact-list.c
+++ b/libempathy/empathy-contact-list.c
@@ -224,15 +224,3 @@ empathy_contact_list_remove_group (EmpathyContactList *list,
EMPATHY_CONTACT_LIST_GET_IFACE (list)->remove_group (list, group);
}
}
-
-EmpathyContactListFlags
-empathy_contact_list_get_flags (EmpathyContactList *list)
-{
- g_return_val_if_fail (EMPATHY_IS_CONTACT_LIST (list), 0);
-
- if (EMPATHY_CONTACT_LIST_GET_IFACE (list)->get_flags) {
- return EMPATHY_CONTACT_LIST_GET_IFACE (list)->get_flags (list);
- } else {
- return 0;
- }
-}
diff --git a/libempathy/empathy-contact-list.h b/libempathy/empathy-contact-list.h
index f1ed3e8..ddd81c3 100644
--- a/libempathy/empathy-contact-list.h
+++ b/libempathy/empathy-contact-list.h
@@ -34,14 +34,6 @@ G_BEGIN_DECLS
#define EMPATHY_IS_CONTACT_LIST(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EMPATHY_TYPE_CONTACT_LIST))
#define EMPATHY_CONTACT_LIST_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), EMPATHY_TYPE_CONTACT_LIST, EmpathyContactListIface))
-typedef enum {
- EMPATHY_CONTACT_LIST_CAN_ADD = 1 << 0,
- EMPATHY_CONTACT_LIST_CAN_REMOVE = 1 << 1,
- EMPATHY_CONTACT_LIST_CAN_ALIAS = 1 << 2,
- EMPATHY_CONTACT_LIST_CAN_GROUP = 1 << 3,
- EMPATHY_CONTACT_LIST_MESSAGE_ADD = 1 << 4,
-} EmpathyContactListFlags;
-
typedef struct _EmpathyContactListIface EmpathyContactListIface;
struct _EmpathyContactListIface {
@@ -70,8 +62,6 @@ struct _EmpathyContactListIface {
const gchar *new_group);
void (*remove_group) (EmpathyContactList *list,
const gchar *group);
- EmpathyContactListFlags
- (*get_flags) (EmpathyContactList *list);
};
GType empathy_contact_list_get_type (void) G_GNUC_CONST;
@@ -98,9 +88,6 @@ void empathy_contact_list_rename_group (EmpathyContactList *list,
void empathy_contact_list_remove_group (EmpathyContactList *list,
const gchar *group);
-EmpathyContactListFlags
- empathy_contact_list_get_flags (EmpathyContactList *list);
-
G_END_DECLS
#endif /* __EMPATHY_CONTACT_LIST_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]