diff options
author | Richard Laager <rlaager@pidgin.im> | 2008-10-30 22:40:49 +0000 |
---|---|---|
committer | Richard Laager <rlaager@pidgin.im> | 2008-10-30 22:40:49 +0000 |
commit | adcd0d89ce465098d5808c985f07232f294335de (patch) | |
tree | ba9017f3f19d757f59f4aeefe8f2c08e17220cf5 /libpurple/plugin.c | |
parent | b9e321e8cd3b19d62b304ea6676dbec1416cf6e4 (diff) | |
download | pidgin-adcd0d89ce465098d5808c985f07232f294335de.tar.gz |
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.)
Diffstat (limited to 'libpurple/plugin.c')
-rw-r--r-- | libpurple/plugin.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libpurple/plugin.c b/libpurple/plugin.c index 40c07fb372..de622b964b 100644 --- a/libpurple/plugin.c +++ b/libpurple/plugin.c @@ -19,6 +19,8 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ +#define _PURPLE_PLUGIN_C_ + #include "internal.h" #include "accountopt.h" |