Mercurial > pidgin.yaz
view pidgin/plugins/perl/common/GtkFt.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 | 8e54f40a60f3 |
children |
line wrap: on
line source
#include "gtkmodule.h" MODULE = Pidgin::Xfer PACKAGE = Pidgin::Xfer PREFIX = pidgin_ PROTOTYPES: ENABLE void pidgin_set_xfer_dialog(dialog) Pidgin::Xfer::Dialog dialog Pidgin::Xfer::Dialog pidgin_get_xfer_dialog() MODULE = Pidgin::Xfer PACKAGE = Pidgin::Xfer::Dialog PREFIX = pidgin_xfer_dialog_ PROTOTYPES: ENABLE Pidgin::Xfer::Dialog pidgin_xfer_dialog_new(class) C_ARGS: /* void */ void pidgin_xfer_dialog_destroy(dialog) Pidgin::Xfer::Dialog dialog void pidgin_xfer_dialog_show(dialog = NULL) Pidgin::Xfer::Dialog dialog void pidgin_xfer_dialog_hide(dialog) Pidgin::Xfer::Dialog dialog void pidgin_xfer_dialog_add_xfer(dialog, xfer) Pidgin::Xfer::Dialog dialog Purple::Xfer xfer void pidgin_xfer_dialog_remove_xfer(dialog, xfer) Pidgin::Xfer::Dialog dialog Purple::Xfer xfer void pidgin_xfer_dialog_cancel_xfer(dialog, xfer) Pidgin::Xfer::Dialog dialog Purple::Xfer xfer void pidgin_xfer_dialog_update_xfer(dialog, xfer) Pidgin::Xfer::Dialog dialog Purple::Xfer xfer