aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-contact-list-store.h
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2007-10-29 03:09:17 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2007-10-29 03:09:17 +0800
commit2c032925a59bf26386bd0f98dbd1f3dc9457f149 (patch)
tree8d40d32f6a0ab5135f06831900c89bdc1f4498ff /libempathy-gtk/empathy-contact-list-store.h
parent3a050b0c01d0f84cc65ffcfe07f9619248c398a6 (diff)
downloadgsoc2013-empathy-2c032925a59bf26386bd0f98dbd1f3dc9457f149.tar
gsoc2013-empathy-2c032925a59bf26386bd0f98dbd1f3dc9457f149.tar.gz
gsoc2013-empathy-2c032925a59bf26386bd0f98dbd1f3dc9457f149.tar.bz2
gsoc2013-empathy-2c032925a59bf26386bd0f98dbd1f3dc9457f149.tar.lz
gsoc2013-empathy-2c032925a59bf26386bd0f98dbd1f3dc9457f149.tar.xz
gsoc2013-empathy-2c032925a59bf26386bd0f98dbd1f3dc9457f149.tar.zst
gsoc2013-empathy-2c032925a59bf26386bd0f98dbd1f3dc9457f149.zip
Rename COL_XXX to EMPATHY_CONTACT_LIST_STORE_COL_XXX since it's in public
2007-10-28 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-contact-list-view.c: * libempathy-gtk/empathy-contact-list-store.c: * libempathy-gtk/empathy-contact-list-store.h: * doc/libempathy-gtk/libempathy-gtk.types: * doc/libempathy-gtk/tmpl/empathy-contact-list-store.sgml: Rename COL_XXX to EMPATHY_CONTACT_LIST_STORE_COL_XXX since it's in public API. Fixes bug #470804. svn path=/trunk/; revision=405
Diffstat (limited to 'libempathy-gtk/empathy-contact-list-store.h')
-rw-r--r--libempathy-gtk/empathy-contact-list-store.h53
1 files changed, 22 insertions, 31 deletions
diff --git a/libempathy-gtk/empathy-contact-list-store.h b/libempathy-gtk/empathy-contact-list-store.h
index 44686c8c8..214f5be60 100644
--- a/libempathy-gtk/empathy-contact-list-store.h
+++ b/libempathy-gtk/empathy-contact-list-store.h
@@ -33,17 +33,6 @@
G_BEGIN_DECLS
-/*
- * EmpathyContactListStoreSort
- */
-typedef enum {
- EMPATHY_CONTACT_LIST_STORE_SORT_STATE,
- EMPATHY_CONTACT_LIST_STORE_SORT_NAME
-} EmpathyContactListStoreSort;
-
-/*
- * EmpathyContactListStore
- */
#define EMPATHY_TYPE_CONTACT_LIST_STORE (empathy_contact_list_store_get_type ())
#define EMPATHY_CONTACT_LIST_STORE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EMPATHY_TYPE_CONTACT_LIST_STORE, EmpathyContactListStore))
#define EMPATHY_CONTACT_LIST_STORE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), EMPATHY_TYPE_CONTACT_LIST_STORE, EmpathyContactListStoreClass))
@@ -53,36 +42,38 @@ typedef enum {
typedef struct _EmpathyContactListStore EmpathyContactListStore;
typedef struct _EmpathyContactListStoreClass EmpathyContactListStoreClass;
-typedef struct _EmpathyContactListStorePriv EmpathyContactListStorePriv;
-enum {
- COL_ICON_STATUS,
- COL_PIXBUF_AVATAR,
- COL_PIXBUF_AVATAR_VISIBLE,
- COL_NAME,
- COL_STATUS,
- COL_STATUS_VISIBLE,
- COL_CONTACT,
- COL_IS_GROUP,
- COL_IS_ACTIVE,
- COL_IS_ONLINE,
- COL_IS_SEPARATOR,
- COL_CAN_VOIP,
- COL_COUNT
+typedef enum {
+ EMPATHY_CONTACT_LIST_STORE_SORT_STATE,
+ EMPATHY_CONTACT_LIST_STORE_SORT_NAME
+} EmpathyContactListStoreSort;
+
+typedef enum {
+ EMPATHY_CONTACT_LIST_STORE_COL_ICON_STATUS,
+ EMPATHY_CONTACT_LIST_STORE_COL_PIXBUF_AVATAR,
+ EMPATHY_CONTACT_LIST_STORE_COL_PIXBUF_AVATAR_VISIBLE,
+ EMPATHY_CONTACT_LIST_STORE_COL_NAME,
+ EMPATHY_CONTACT_LIST_STORE_COL_STATUS,
+ EMPATHY_CONTACT_LIST_STORE_COL_STATUS_VISIBLE,
+ EMPATHY_CONTACT_LIST_STORE_COL_CONTACT,
+ EMPATHY_CONTACT_LIST_STORE_COL_IS_GROUP,
+ EMPATHY_CONTACT_LIST_STORE_COL_IS_ACTIVE,
+ EMPATHY_CONTACT_LIST_STORE_COL_IS_ONLINE,
+ EMPATHY_CONTACT_LIST_STORE_COL_IS_SEPARATOR,
+ EMPATHY_CONTACT_LIST_STORE_COL_CAN_VOIP,
+ EMPATHY_CONTACT_LIST_STORE_COL_COUNT
} EmpathyContactListStoreCol;
struct _EmpathyContactListStore {
- GtkTreeStore parent;
+ GtkTreeStore parent;
};
struct _EmpathyContactListStoreClass {
- GtkTreeStoreClass parent_class;
+ GtkTreeStoreClass parent_class;
};
-typedef GList * (*EmpathyContactGroupsFunc) (EmpathyContact *contact,
- gpointer user_data);
GType empathy_contact_list_store_get_type (void) G_GNUC_CONST;
-EmpathyContactListStore * empathy_contact_list_store_new (EmpathyContactList *list_iface);
+EmpathyContactListStore * empathy_contact_list_store_new (EmpathyContactList *list_iface);
EmpathyContactList * empathy_contact_list_store_get_list_iface (EmpathyContactListStore *store);
gboolean empathy_contact_list_store_get_show_offline (EmpathyContactListStore *store);
void empathy_contact_list_store_set_show_offline (EmpathyContactListStore *store,