diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-12-17 22:55:05 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-12-17 23:04:11 +0800 |
commit | 5f00c9a99a1c1ecf9ebd08f0bda58bbfed0f052f (patch) | |
tree | c1cd56091e03eff6084948a9ad2bd484461cc9d7 | |
parent | beb0b7e42281f326f379bd9233297e855e5ad020 (diff) | |
download | gsoc2013-empathy-5f00c9a99a1c1ecf9ebd08f0bda58bbfed0f052f.tar gsoc2013-empathy-5f00c9a99a1c1ecf9ebd08f0bda58bbfed0f052f.tar.gz gsoc2013-empathy-5f00c9a99a1c1ecf9ebd08f0bda58bbfed0f052f.tar.bz2 gsoc2013-empathy-5f00c9a99a1c1ecf9ebd08f0bda58bbfed0f052f.tar.lz gsoc2013-empathy-5f00c9a99a1c1ecf9ebd08f0bda58bbfed0f052f.tar.xz gsoc2013-empathy-5f00c9a99a1c1ecf9ebd08f0bda58bbfed0f052f.tar.zst gsoc2013-empathy-5f00c9a99a1c1ecf9ebd08f0bda58bbfed0f052f.zip |
no need to export contact_list_store_get_contact_status_icon any more
-rw-r--r-- | libempathy-gtk/empathy-contact-list-store.c | 33 | ||||
-rw-r--r-- | libempathy-gtk/empathy-contact-list-store.h | 3 |
2 files changed, 16 insertions, 20 deletions
diff --git a/libempathy-gtk/empathy-contact-list-store.c b/libempathy-gtk/empathy-contact-list-store.c index 4660a0b14..960e9e457 100644 --- a/libempathy-gtk/empathy-contact-list-store.c +++ b/libempathy-gtk/empathy-contact-list-store.c @@ -1677,23 +1677,7 @@ contact_list_store_update_list_mode_foreach (GtkTreeModel *model, return FALSE; } -GdkPixbuf * -contact_list_store_get_contact_status_icon (EmpathyContactListStore *store, - EmpathyContact *contact) -{ - GdkPixbuf *pixbuf_status = NULL; - const gchar *status_icon_name = NULL; - - status_icon_name = empathy_icon_name_for_contact (contact); - pixbuf_status = contact_list_store_get_contact_status_icon_with_icon_name ( - store, - contact, - status_icon_name); - - return pixbuf_status; -} - -GdkPixbuf * +static GdkPixbuf * contact_list_store_get_contact_status_icon_with_icon_name ( EmpathyContactListStore *store, EmpathyContact *contact, @@ -1734,3 +1718,18 @@ contact_list_store_get_contact_status_icon_with_icon_name ( return pixbuf_status; } +GdkPixbuf * +contact_list_store_get_contact_status_icon (EmpathyContactListStore *store, + EmpathyContact *contact) +{ + GdkPixbuf *pixbuf_status = NULL; + const gchar *status_icon_name = NULL; + + status_icon_name = empathy_icon_name_for_contact (contact); + pixbuf_status = contact_list_store_get_contact_status_icon_with_icon_name ( + store, + contact, + status_icon_name); + + return pixbuf_status; +} diff --git a/libempathy-gtk/empathy-contact-list-store.h b/libempathy-gtk/empathy-contact-list-store.h index c46e9e831..afefd28cf 100644 --- a/libempathy-gtk/empathy-contact-list-store.h +++ b/libempathy-gtk/empathy-contact-list-store.h @@ -109,9 +109,6 @@ gboolean empathy_contact_list_store_search_equal_func (GtkTre gpointer search_data); GdkPixbuf * contact_list_store_get_contact_status_icon ( EmpathyContactListStore *store, EmpathyContact *contact); -GdkPixbuf * contact_list_store_get_contact_status_icon_with_icon_name (EmpathyContactListStore *store, - EmpathyContact *contact, - const gchar *status_icon_name); G_END_DECLS |