aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-01-12 01:02:43 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-01-12 01:13:35 +0800
commit62ba54af21d4f9ca133824a7fda636ab9a80a139 (patch)
treea372663d452cd0680e4d088ceadf10a106a3f277
parentad84d268b925a1950625ad85221bb8e9007bb55b (diff)
downloadgsoc2013-empathy-62ba54af21d4f9ca133824a7fda636ab9a80a139.tar
gsoc2013-empathy-62ba54af21d4f9ca133824a7fda636ab9a80a139.tar.gz
gsoc2013-empathy-62ba54af21d4f9ca133824a7fda636ab9a80a139.tar.bz2
gsoc2013-empathy-62ba54af21d4f9ca133824a7fda636ab9a80a139.tar.lz
gsoc2013-empathy-62ba54af21d4f9ca133824a7fda636ab9a80a139.tar.xz
gsoc2013-empathy-62ba54af21d4f9ca133824a7fda636ab9a80a139.tar.zst
gsoc2013-empathy-62ba54af21d4f9ca133824a7fda636ab9a80a139.zip
contact_list_store_get_contact_status_icon_with_icon_name: early return if icon_name is NULL
-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,