From 62ba54af21d4f9ca133824a7fda636ab9a80a139 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Mon, 11 Jan 2010 17:02:43 +0000 Subject: contact_list_store_get_contact_status_icon_with_icon_name: early return if icon_name is NULL --- libempathy-gtk/empathy-contact-list-store.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libempathy-gtk') 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, -- cgit v1.2.3