view pidgin/plugins/perl/common/GtkBlist.xs @ 24771:8fb78d30ea83

We have a prpl function "buddy_free" that I don't think any of our in-tree prpls use, and it wasn't called from anywhere. But the facebook prpl uses it to free data associated with each buddy. I think it makes sense to call this function. In the future it would probably be cleaner to have prpls attach to a signal or something.
author Mark Doliner <mark@kingant.net>
date Thu, 18 Dec 2008 02:03:20 +0000
parents e622745f6f42
children 6af7a00a6658
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()

void
pidgin_blist_update_account_error_state(account, message)
	Purple::Account account
	const char * message