diff finch/gntprefs.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 b8572b937c09
children 65fedb03ac05 1cb69ea47a6e
line wrap: on
line diff