# HG changeset patch # User Etan Reisner # Date 1192592787 0 # Node ID d947d75635fbcfcf46f68a537e766d04f5fdcbfe # Parent 72edbc003dd5781903ac95ef8d06374424481228 Add notes about how the value argument to the purple_prefs_add_{string,path}_list functions needs to be handled by the caller. diff -r 72edbc003dd5 -r d947d75635fb libpurple/prefs.h --- a/libpurple/prefs.h Wed Oct 17 03:40:16 2007 +0000 +++ b/libpurple/prefs.h Wed Oct 17 03:46:27 2007 +0000 @@ -115,6 +115,9 @@ * * @param name The name of the pref * @param value The initial value to set + * @note This function takes a copy of the strings in the value list. The list + * itself and original copies of the strings are up to the caller to + * free. */ void purple_prefs_add_string_list(const char *name, GList *value); @@ -131,6 +134,9 @@ * * @param name The name of the pref * @param value The initial value to set + * @note This function takes a copy of the strings in the value list. The list + * itself and original copies of the strings are up to the caller to + * free. */ void purple_prefs_add_path_list(const char *name, GList *value);