summaryrefslogtreecommitdiff
path: root/libpurple/blist.h
diff options
context:
space:
mode:
authorRichard Laager <rlaager@pidgin.im>2007-10-06 22:59:09 +0000
committerRichard Laager <rlaager@pidgin.im>2007-10-06 22:59:09 +0000
commit1cfb070e1085b12451b7f51a97e760c090d4cee9 (patch)
treebcf33930cf195df269c26bac289d8ec1b79c1b4c /libpurple/blist.h
parent007d351ce0c62a9a3cb50a11beea97d0f7392269 (diff)
downloadpidgin-1cfb070e1085b12451b7f51a97e760c090d4cee9.tar.gz
Honor a PURPLE_DISABLE_DEPRECATED define to allow plugins to catch
deprecated functions earlier rather than later.
Diffstat (limited to 'libpurple/blist.h')
-rw-r--r--libpurple/blist.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpurple/blist.h b/libpurple/blist.h
index 5464b4fe9b..af48e775b3 100644
--- a/libpurple/blist.h
+++ b/libpurple/blist.h
@@ -483,6 +483,7 @@ void purple_blist_merge_contact(PurpleContact *source, PurpleBlistNode *node);
*/
PurpleBuddy *purple_contact_get_priority_buddy(PurpleContact *contact);
+#ifndef PURPLE_DISABLE_DEPRECATED
/**
* Sets the alias for a contact.
*
@@ -492,6 +493,7 @@ PurpleBuddy *purple_contact_get_priority_buddy(PurpleContact *contact);
* @deprecated Use purple_blist_alias_contact() instead.
*/
void purple_contact_set_alias(PurpleContact *contact, const char *alias);
+#endif
/**
* Gets the alias for a contact.