im.pidgin.pidgin: f22144bceaa379727a279c89196bfce7b297e4c7

deryni at pidgin.im deryni at pidgin.im
Tue Oct 16 23:45:48 EDT 2007


-----------------------------------------------------------------
Revision: f22144bceaa379727a279c89196bfce7b297e4c7
Ancestor: 8e280195981a62808164a89d43adcd353f718be6
Author: deryni at pidgin.im
Date: 2007-10-17T03:46:27
Branch: im.pidgin.pidgin

Modified files:
        libpurple/prefs.h

ChangeLog: 

Add notes about how the value argument to the
purple_prefs_add_{string,path}_list functions needs to be handled by the
caller.

-------------- next part --------------
============================================================
--- libpurple/prefs.h	b67632f185c6e839720ea3a5eb71657b4a964145
+++ libpurple/prefs.h	b38e1269836dfb788efd1bf36df5badd81f734f2
@@ -115,6 +115,9 @@ void purple_prefs_add_string(const char 
  *
  * @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 @@ void purple_prefs_add_path(const char *n
  *
  * @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);
 


More information about the Commits mailing list