summaryrefslogtreecommitdiff
path: root/pidgin/gtkutils.h
diff options
context:
space:
mode:
authorRichard Laager <rlaager@pidgin.im>2008-10-30 22:40:49 +0000
committerRichard Laager <rlaager@pidgin.im>2008-10-30 22:40:49 +0000
commitadcd0d89ce465098d5808c985f07232f294335de (patch)
treeba9017f3f19d757f59f4aeefe8f2c08e17220cf5 /pidgin/gtkutils.h
parentb9e321e8cd3b19d62b304ea6676dbec1416cf6e4 (diff)
downloadpidgin-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 'pidgin/gtkutils.h')
-rw-r--r--pidgin/gtkutils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pidgin/gtkutils.h b/pidgin/gtkutils.h
index 7cad487585..ace6bd4d2e 100644
--- a/pidgin/gtkutils.h
+++ b/pidgin/gtkutils.h
@@ -638,7 +638,7 @@ GdkPixbuf *gdk_pixbuf_new_from_file_at_scale(const char *filename, int width, in
GError **error);
#endif
-#ifndef PURPLE_DISABLE_DEPRECATED
+#if !(defined PIDGIN_DISABLE_DEPRECATED) || (defined _PIDGIN_GTKUTILS_C_)
/**
* Set or unset a custom buddyicon for a user.
*