aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-11-08 23:55:15 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-11-28 19:09:56 +0800
commit1cbe27fc9f7be998703fba83f573906d7da15912 (patch)
tree8384ad0606b59c7a0008805f249b64385b3d89bc
parentb528f950eaf4283c54448d303c1acfbfd07d26a5 (diff)
downloadgsoc2013-empathy-1cbe27fc9f7be998703fba83f573906d7da15912.tar
gsoc2013-empathy-1cbe27fc9f7be998703fba83f573906d7da15912.tar.gz
gsoc2013-empathy-1cbe27fc9f7be998703fba83f573906d7da15912.tar.bz2
gsoc2013-empathy-1cbe27fc9f7be998703fba83f573906d7da15912.tar.lz
gsoc2013-empathy-1cbe27fc9f7be998703fba83f573906d7da15912.tar.xz
gsoc2013-empathy-1cbe27fc9f7be998703fba83f573906d7da15912.tar.zst
gsoc2013-empathy-1cbe27fc9f7be998703fba83f573906d7da15912.zip
contact-list: remove flags
https://bugzilla.gnome.org/show_bug.cgi?id=663328
-rw-r--r--libempathy/empathy-contact-list.c12
-rw-r--r--libempathy/empathy-contact-list.h13
2 files changed, 0 insertions, 25 deletions
diff --git a/libempathy/empathy-contact-list.c b/libempathy/empathy-contact-list.c
index 38d0a446a..3f24998fb 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 f1ed3e8ed..ddd81c332 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__ */