gtk/plugins/perl/common/GtkThemes.xs

Mon, 18 Sep 2006 04:26:33 +0000

author
Etan Reisner <deryni@pidgin.im>
date
Mon, 18 Sep 2006 04:26:33 +0000
changeset 14643
a058b716c189
parent 14629
1a0cd727c121
permissions
-rw-r--r--

[gaim-migrate @ 17305]
Remove a couple more commented out functions, fix the class we were blessing
things into with smiley themes, and add an indentatation level to the
bootstrap section of GtkUI.xs (doesn't matter now but bit me during some of my
testing).

#include "gtkmodule.h"

MODULE = Gaim::GtkUI::Themes  PACKAGE = Gaim::GtkUI::Themes  PREFIX = gaim_gtkthemes_
PROTOTYPES: ENABLE

void
gaim_gtkthemes_init()

gboolean
gaim_gtkthemes_smileys_disabled()

void
gaim_gtkthemes_smiley_theme_probe()

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

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

mercurial