Mercurial > pidgin
diff finch/libgnt/gntstyle.h @ 21691:3ed9b027479d
Add support for colour in gnttreerows, and colourise the blist. Fixes #1490
author | Richard Nelson <wabz@pidgin.im> |
---|---|
date | Fri, 30 Nov 2007 03:17:07 +0000 |
parents | 6de09629f091 |
children | e3e64d1e4869 |
line wrap: on
line diff
--- a/finch/libgnt/gntstyle.h Thu Nov 29 23:21:14 2007 +0000 +++ b/finch/libgnt/gntstyle.h Fri Nov 30 03:17:07 2007 +0000 @@ -65,6 +65,20 @@ char *gnt_style_get_from_name(const char *group, const char *key); /** + * Get the value of a preference in ~/.gntrc. + * + * @param group The name of the group in the keyfile. If @c NULL, the prgname + * will be used first, if available. Otherwise, "general" will be used. + * @param key The key + * @param length Return location for the number of strings returned, or NULL + * + * @return NULL terminated string array. The array should be freed with g_strfreev(). + * + * @since 2.3.1 (gnt), 2.3.1 (pidgin) + */ +char **gnt_style_get_string_list(const char *group, const char *key, gsize *length); + +/** * Parse a boolean preference. For example, if 'value' is "false" (ignoring case) * or "0", the return value will be @c FALSE, otherwise @c TRUE. *