--- a/libpurple/util.h Thu Oct 24 18:21:35 2013 +0530 +++ b/libpurple/util.h Thu Oct 24 23:56:44 2013 +0530 @@ -1432,6 +1432,15 @@ gchar *purple_uuid_random(void); /** + * Sets given pointer to NULL. + * + * Function designed to be used as a GDestroyNotify callback. + * + * @param data A pointer to variable, which should be set to NULL. + */ +void purple_callback_set_zero(gpointer data); + +/** * Creates a new GValue of the specified type. * * @param type The type of data to be held by the GValue