# HG changeset patch # User Mark Doliner # Date 1265224084 0 # Node ID f72c30e9ea611ef7e5c28299757e4beb91e7ad9c # Parent 7b6933cd7fd3163e666b6bb3eac304801905a9de Mark this function as deprecated because I really don't know what it's supposed to be used for diff -r 7b6933cd7fd3 -r f72c30e9ea61 libpurple/prefs.h --- a/libpurple/prefs.h Wed Feb 03 16:05:28 2010 +0000 +++ b/libpurple/prefs.h Wed Feb 03 19:08:04 2010 +0000 @@ -185,7 +185,17 @@ * * @param name The name of the pref * @param value The value to set + * + * @deprecatethis? + * @deprecated We're not really sure what purpose this function serves, so it + * will be removed in 3.0.0. Preferences values set using this + * function aren't serialized to prefs.xml, which could be + * misleading. There is also no purple_prefs_get_generic, which + * means that if you can't really get the value (other in a + * connected callback). If you think you have a use for this then + * please let us know. */ +/* TODO: When this is removed, also remove struct purple_pref->value.generic */ void purple_prefs_set_generic(const char *name, gpointer value); /**