From ad84d268b925a1950625ad85221bb8e9007bb55b Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Mon, 11 Jan 2010 17:02:15 +0000 Subject: [PATCH] empathy_pixbuf_contact_status_icon_with_icon_name: icon_name is not supposed to be NULL --- libempathy-gtk/empathy-ui-utils.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libempathy-gtk/empathy-ui-utils.c b/libempathy-gtk/empathy-ui-utils.c index 3fa39d53..dcba5fe2 100644 --- a/libempathy-gtk/empathy-ui-utils.c +++ b/libempathy-gtk/empathy-ui-utils.c @@ -535,6 +535,7 @@ empathy_pixbuf_contact_status_icon_with_icon_name (EmpathyContact *contact, gint numerator, denominator; g_return_val_if_fail (EMPATHY_IS_CONTACT (contact), NULL); + g_return_val_if_fail (icon_name != NULL, NULL); numerator = 3; denominator = 4; -- 2.39.2