# HG changeset patch # User Elliott Sales de Andrade # Date 1240807844 0 # Node ID f7b409c896cdfebe5d5f03bcd0c79b43a4ffa131 # Parent baa23b7a4d42ed1e36b2ea72f64724b630b6ad19 We probably shouldn't have to set the pixbuf and the stock-id, but anyway, sometimes the stock-id is NULL, so don't try to create a pixbuf out of it. diff -r baa23b7a4d42 -r f7b409c896cd pidgin/gtkstatusbox.c --- a/pidgin/gtkstatusbox.c Sun Apr 26 22:55:58 2009 +0000 +++ b/pidgin/gtkstatusbox.c Mon Apr 27 04:50:44 2009 +0000 @@ -719,7 +719,8 @@ } stock = pidgin_stock_id_from_status_primitive(prim); - pixbuf = pidgin_status_box_get_pixbuf(status_box, stock); + if (stock) + pixbuf = pidgin_status_box_get_pixbuf(status_box, stock); } if (status_box->account != NULL) { @@ -2158,7 +2159,8 @@ } stock = pidgin_stock_id_from_status_primitive(prim); - pixbuf = pidgin_status_box_get_pixbuf(status_box, stock); + if (stock) + pixbuf = pidgin_status_box_get_pixbuf(status_box, stock); } gtk_list_store_append(status_box->dropdown_store, &iter);