pidgin/plugins/perl/common/GtkThemes.xs

Fri, 16 Feb 2007 16:25:26 +0000

author
Luke Schierer <lschiere@pidgin.im>
date
Fri, 16 Feb 2007 16:25:26 +0000
changeset 15711
cd8a32e0e0b5
parent 15590
c07dd12bf3f4
child 15899
75f0041f72b8
permissions
-rw-r--r--

I like being able to compile :-)
(some name changes in the perl stuff)

#include "gtkmodule.h"

MODULE = Pidgin::Themes  PACKAGE = Pidgin::Themes  PREFIX = pidginthemes_
PROTOTYPES: ENABLE

void
pidginthemes_init()

gboolean
pidginthemes_smileys_disabled()

void
pidginthemes_smiley_theme_probe()

void
pidginthemes_load_smiley_theme(file, load)
	const char * file
	gboolean load

void
pidginthemes_get_proto_smileys(id)
	const char * id
PREINIT:
	GSList *l;
PPCODE:
	for (l = pidginthemes_get_proto_smileys(id); l != NULL; l = l->next) {
		XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Pidgin::IMHtml::Smiley")));
	}

mercurial