comparison finch/libgnt/gntstyle.h @ 21220:b1fa7765ca4b

propagate from branch 'im.pidgin.pidgin' (head d42511319051bcfa8adb3ed8e3f11a26cabc43f4) to branch 'next.minor' (head 3526bc084159c5c57e580e9e9e190b6ff502fdbe)
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Fri, 12 Oct 2007 02:18:35 +0000
parents b65f1bff6412 acf284962b40
children ae330012956f
comparison
equal deleted inserted replaced
21219:5f829728a1a5 21220:b1fa7765ca4b
51 * @param group The name of the group in the keyfile. If @c NULL, the prgname 51 * @param group The name of the group in the keyfile. If @c NULL, the prgname
52 * will be used first, if available. Otherwise, "general" will be used. 52 * will be used first, if available. Otherwise, "general" will be used.
53 * @param key The key 53 * @param key The key
54 * 54 *
55 * @return The value of the setting as a string, or @c NULL 55 * @return The value of the setting as a string, or @c NULL
56 *
57 * @since 2.0.0 (gnt), 2.1.0 (pidgin)
56 */ 58 */
57 char *gnt_style_get_from_name(const char *group, const char *key); 59 char *gnt_style_get_from_name(const char *group, const char *key);
58 60
59 /** 61 /**
60 * Parse a boolean preference. For example, if 'value' is "false" (ignoring case) 62 * Parse a boolean preference. For example, if 'value' is "false" (ignoring case)
61 * or "0", the return value will be @c FALSE, otherwise @c TRUE. 63 * or "0", the return value will be @c FALSE, otherwise @c TRUE.
62 * 64 *
63 * @param value The value of the boolean setting as a string 65 * @param value The value of the boolean setting as a string
64 * @return The boolean value 66 * @return The boolean value
67 *
68 * @since 2.0.0 (gnt), 2.1.0 (pidgin)
65 */ 69 */
66 gboolean gnt_style_parse_bool(const char *value); 70 gboolean gnt_style_parse_bool(const char *value);
67 71
68 /** 72 /**
69 * 73 *