Mercurial > pidgin.yaz
diff pidgin/gtkimhtml.c @ 18340:e356256cb8a6
purple_imgstore_add() has checks which can lead it to return NULL (which should be NULL, not 0); purple_imgstore_add_with_id() should therefore allow for the possibility that the returned value is NULL and check it before using it. An id of 0 is returned if the function fails.
author | Evan Schoenberg <evan.s@dreskin.net> |
---|---|
date | Fri, 29 Jun 2007 15:00:50 +0000 |
parents | 4c3a24270114 |
children | 693f9b544e2b 636679fb98ad |