aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-contact-list-store.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy-gtk/empathy-contact-list-store.c')
-rw-r--r--libempathy-gtk/empathy-contact-list-store.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-contact-list-store.c b/libempathy-gtk/empathy-contact-list-store.c
index d284b94b8..130983661 100644
--- a/libempathy-gtk/empathy-contact-list-store.c
+++ b/libempathy-gtk/empathy-contact-list-store.c
@@ -1724,6 +1724,9 @@ contact_list_store_get_contact_status_icon (EmpathyContactListStore *store,
const gchar *status_icon_name = NULL;
status_icon_name = empathy_icon_name_for_contact (contact);
+ if (status_icon_name == NULL)
+ return NULL;
+
pixbuf_status = contact_list_store_get_contact_status_icon_with_icon_name (
store,
contact,