view pidgin/plugins/perl/common/GtkBlist.xs @ 32647:3e27c95ab8e6

Fix a leak. pidgin_conversation_theme_add_variant should only be used by the theme builder, so it's fine if we let it take ownership of the variant name string.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Mon, 19 Sep 2011 20:23:13 +0000
parents 6af7a00a6658
children
line wrap: on
line source

#include "gtkmodule.h"

MODULE = Pidgin::BuddyList  PACKAGE = Pidgin::BuddyList  PREFIX = pidgin_blist_
PROTOTYPES: ENABLE

Purple::Handle
pidgin_blist_get_handle()

Pidgin::BuddyList
pidgin_blist_get_default_gtk_blist()

void
pidgin_blist_refresh(list)
	Purple::BuddyList list

void
pidgin_blist_update_refresh_timeout()

gboolean
pidgin_blist_node_is_contact_expanded(node)
	Purple::BuddyList::Node node

void
pidgin_blist_toggle_visibility()

void
pidgin_blist_visibility_manager_add()

void
pidgin_blist_visibility_manager_remove()

void
pidgin_blist_get_sort_methods()
PREINIT:
	GList *l;
PPCODE:
	for (l = pidgin_blist_get_sort_methods(); l != NULL; l = l->next) {
		XPUSHs(sv_2mortal(purple_perl_bless_object(l->data, "Pidgin::BuddyList::SortMethod")));
	}

void
pidgin_blist_sort_method_reg(id, name, func)
	const char * id
	const char * name
	Pidgin::BuddyList::SortFunction func

void
pidgin_blist_sort_method_unreg(id)
	const char * id

void
pidgin_blist_sort_method_set(id)
	const char * id

void
pidgin_blist_setup_sort_methods()

void
pidgin_blist_update_accounts_menu()

void
pidgin_blist_update_plugin_actions()

void
pidgin_blist_update_sort_methods()

gboolean
pidgin_blist_joinchat_is_showable()

void
pidgin_blist_joinchat_show()