[empathy] empathy_pixbuf_contact_status_icon_with_icon_name: icon_name is not supposed to be NULL



commit ad84d268b925a1950625ad85221bb8e9007bb55b
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Mon Jan 11 17:02:15 2010 +0000

    empathy_pixbuf_contact_status_icon_with_icon_name: icon_name is not supposed to be NULL

 libempathy-gtk/empathy-ui-utils.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libempathy-gtk/empathy-ui-utils.c b/libempathy-gtk/empathy-ui-utils.c
index 3fa39d5..dcba5fe 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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]