Mercurial > pidgin.yaz
view pidgin/plugins/perl/common/GtkDialogs.xs @ 24292:8282911d5e17
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.)
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Thu, 30 Oct 2008 22:40:49 +0000 |
parents | 80af064d311c |
children | 9e9efd1a09a2 |
line wrap: on
line source
#include "gtkmodule.h" MODULE = Pidgin::Dialogs PACKAGE = Pidgin::Dialogs PREFIX = pidgin_dialogs_ PROTOTYPES: ENABLE void pidgin_dialogs_destroy_all() void pidgin_dialogs_about() void pidgin_dialogs_im() void pidgin_dialogs_im_with_user(account, username) Purple::Account account const char * username void pidgin_dialogs_info() void pidgin_dialogs_log() void pidgin_dialogs_alias_contact(contact) Purple::BuddyList::Contact contact void pidgin_dialogs_alias_buddy(buddy) Purple::BuddyList::Buddy buddy void pidgin_dialogs_alias_chat(chat) Purple::BuddyList::Chat chat void pidgin_dialogs_remove_buddy(buddy) Purple::BuddyList::Buddy buddy void pidgin_dialogs_remove_group(group) Purple::BuddyList::Group group void pidgin_dialogs_remove_chat(chat) Purple::BuddyList::Chat chat void pidgin_dialogs_remove_contact(contact) Purple::BuddyList::Contact contact