Mercurial > pidgin.yaz
comparison finch/libgnt/gntstyle.c @ 19123:576edd9c4f72
propagate from branch 'im.pidgin.pidgin' (head 96be2c6bb0b910f823a48bf0ffc247135df4a988)
to branch 'im.pidgin.soc.2007.finchfeat' (head 2a7598789162e259bfd3ba6cfa189a024137c675)
author | Eric Polino <aluink@pidgin.im> |
---|---|
date | Fri, 29 Jun 2007 12:45:08 +0000 |
parents | b25cb0775be3 8aff2d3d6820 |
children | c6282dc3fb9f |
comparison
equal
deleted
inserted
replaced
19122:6dded98d1c80 | 19123:576edd9c4f72 |
---|---|
44 const char *gnt_style_get(GntStyle style) | 44 const char *gnt_style_get(GntStyle style) |
45 { | 45 { |
46 return str_styles[style]; | 46 return str_styles[style]; |
47 } | 47 } |
48 | 48 |
49 const char *gnt_style_get_from_name(const char *group, const char *key) | 49 char *gnt_style_get_from_name(const char *group, const char *key) |
50 { | 50 { |
51 #if GLIB_CHECK_VERSION(2,6,0) | 51 #if GLIB_CHECK_VERSION(2,6,0) |
52 return g_key_file_get_value(gkfile, group, key, NULL); | 52 return g_key_file_get_value(gkfile, group, key, NULL); |
53 #endif | 53 #endif |
54 } | 54 } |