Thu, 30 Oct 2008 22:40:49 +0000
Build everything with the *_DISABLE_DEPRECATED flags set. This allows us
to detect when we're still using deprecated functions internally (and by
extension, when we've deprecated something we shouldn't have). In the
course of developing this changeset, I fixed a few such cases.
Given that the plan is to switch from PURPLE_HIDE_STRUCTS to
PURPLE_DISABLE_DEPRECATED as each struct is fully dealt with, this will
also ensure we have no regressions on the struct hiding work.
Deprecated functions are still available to the respective .c file, to
avoid missing prototype errors. Also, Perl and DBus undef the
*_DISABLE_DEPRECATED defines as appropriate so that deprecated functions
will still be exported to Perl plugins and via DBus. (Otherwise, we'd
be breaking backwards compatibility.)
#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