]> git.0d.be Git - empathy.git/commitdiff
no need to export contact_list_store_get_contact_status_icon any more
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 17 Dec 2009 14:55:05 +0000 (14:55 +0000)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 17 Dec 2009 15:04:11 +0000 (15:04 +0000)
libempathy-gtk/empathy-contact-list-store.c
libempathy-gtk/empathy-contact-list-store.h

index 4660a0b148d3d7d1fee07d49df3c77a0fe0405ef..960e9e457e6ed05638c21742bd36644ac28ea847 100644 (file)
@@ -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;
+}
index c46e9e8317b8e97f664261b17185fc18bc2b0091..afefd28cff22f49b4fe7f218bd06f0a34d1a9edd 100644 (file)
@@ -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