Mercurial > pidgin
comparison libpurple/buddyicon.h @ 24350: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 | 2ecdd0403dc1 |
children | 108455a3c019 |
comparison
equal
deleted
inserted
replaced
24349:f52b94f3b6ca | 24350:8282911d5e17 |
---|---|
335 */ | 335 */ |
336 PurpleStoredImage * | 336 PurpleStoredImage * |
337 purple_buddy_icons_node_set_custom_icon_from_file(PurpleBlistNode *node, | 337 purple_buddy_icons_node_set_custom_icon_from_file(PurpleBlistNode *node, |
338 const gchar *filename); | 338 const gchar *filename); |
339 | 339 |
340 #ifndef PURPLE_DISABLE_DEPRECATED | 340 #if !(defined PURPLE_DISABLE_DEPRECATED) || (defined _PURPLE_BUDDYICON_C_) |
341 /** | 341 /** |
342 * PurpleContact version of purple_buddy_icons_node_has_custom_icon. | 342 * PurpleContact version of purple_buddy_icons_node_has_custom_icon. |
343 * | 343 * |
344 * @copydoc purple_buddy_icons_node_has_custom_icon() | 344 * @copydoc purple_buddy_icons_node_has_custom_icon() |
345 * | 345 * |