Mercurial > pidgin
view console/libgnt/gntstyle.h @ 14939:06ae7ffc47e3
[gaim-migrate @ 17711]
This should prevent D-BUS from having to deal with any non-UTF-8
strings emitted by Gaim signals, which should therefore prevent its
early exit. Strings will be salvaged via gaim_utf8_salvage before
emission, and an error will be logged. IRC (and any other protocols
spitting out invalid UTF-8 to signals) should yet be fixed to emit
some sort of binary blob, rather than a UTF-8 string, but this will
make D-BUS robust to any future transgressions.
This is completely untested.
committer: Tailor Script <tailor@pidgin.im>
author | Ethan Blanton <elb@pidgin.im> |
---|---|
date | Thu, 09 Nov 2006 16:35:06 +0000 |
parents | 065e7ac30338 |
children | d08d7b7375c7 |
line wrap: on
line source
#include "gnt.h" typedef enum { GNT_STYLE_SHADOW = 0, GNT_STYLE_COLOR = 1, GNT_STYLE_MOUSE = 2, GNT_STYLE_WM = 3, GNT_STYLES } GntStyle; void gnt_style_read_configure_file(const char *filename); const char *gnt_style_get(GntStyle style); gboolean gnt_style_get_bool(GntStyle style, gboolean def); /* This should be called only once for the each type */ void gnt_styles_get_keyremaps(GType type, GHashTable *hash); void gnt_style_read_actions(GType type, GntBindableClass *klass); void gnt_init_styles(); void gnt_uninit_styles();