Mercurial > pidgin.yaz
view pidgin/plugins/perl/common/GtkThemes.xs @ 25279:ac967ea95b05
Use purple_buddy_get_protocol_data() and purple_buddy_set_protocol_data()
in the Bonjour prpl. It's still not fully updated to compile.
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Thu, 30 Oct 2008 20:08:29 +0000 |
parents | b54abfe11fc5 |
children |
line wrap: on
line source
#include "gtkmodule.h" MODULE = Pidgin::Themes PACKAGE = Pidgin::Themes PREFIX = pidgin_themes_ PROTOTYPES: ENABLE void pidgin_themes_init() gboolean pidgin_themes_smileys_disabled() void pidgin_themes_smiley_theme_probe() void pidgin_themes_load_smiley_theme(file, load) const char * file gboolean load void pidgin_themes_get_proto_smileys(id) const char * id PREINIT: GSList *l; PPCODE: for (l = pidgin_themes_get_proto_smileys(id); l != NULL; l = l->next) { XPUSHs(sv_2mortal(purple_perl_bless_object(l->data, "Pidgin::IMHtml::Smiley"))); }