# HG changeset patch # User andrew.victor@mxit.com # Date 1315252969 0 # Node ID 8219425862925de87a1f05335c562026a981c657 # Parent 521cb9430f22e3987735a5b75bafbc55a16a4fcb purple_contact_set_alias() is deprecated, and can be removed for 3.0.0. diff -r 521cb9430f22 -r 821942586292 ChangeLog.API --- a/ChangeLog.API Mon Sep 05 19:58:03 2011 +0000 +++ b/ChangeLog.API Mon Sep 05 20:02:49 2011 +0000 @@ -112,6 +112,7 @@ * purple_buddy_icons_find_custom_icon * purple_buddy_icons_set_custom_icon * purple_connection_error_reason + * purple_contact_set_alias * purple_core_migrate * purple_dnsquery_a_account * purple_notify_searchresults_column_get_title diff -r 521cb9430f22 -r 821942586292 libpurple/blist.c --- a/libpurple/blist.c Mon Sep 05 19:58:03 2011 +0000 +++ b/libpurple/blist.c Mon Sep 05 20:02:49 2011 +0000 @@ -1737,11 +1737,6 @@ return (PurpleGroup *)(((PurpleBlistNode *)contact)->parent); } -void purple_contact_set_alias(PurpleContact *contact, const char *alias) -{ - purple_blist_alias_contact(contact,alias); -} - const char *purple_contact_get_alias(PurpleContact* contact) { g_return_val_if_fail(contact != NULL, NULL); diff -r 521cb9430f22 -r 821942586292 libpurple/blist.h --- a/libpurple/blist.h Mon Sep 05 19:58:03 2011 +0000 +++ b/libpurple/blist.h Mon Sep 05 20:02:49 2011 +0000 @@ -762,18 +762,6 @@ */ PurpleBuddy *purple_contact_get_priority_buddy(PurpleContact *contact); -#if !(defined PURPLE_DISABLE_DEPRECATED) || (defined _PURPLE_BLIST_C_) -/** - * Sets the alias for a contact. - * - * @param contact The contact - * @param alias The alias to set, or NULL to unset - * - * @deprecated Use purple_blist_alias_contact() instead. - */ -void purple_contact_set_alias(PurpleContact *contact, const char *alias); -#endif - /** * Gets the alias for a contact. * diff -r 521cb9430f22 -r 821942586292 libpurple/plugins/perl/common/BuddyList.xs --- a/libpurple/plugins/perl/common/BuddyList.xs Mon Sep 05 19:58:03 2011 +0000 +++ b/libpurple/plugins/perl/common/BuddyList.xs Mon Sep 05 20:02:49 2011 +0000 @@ -82,11 +82,6 @@ purple_contact_get_priority_buddy(contact) Purple::BuddyList::Contact contact -void -purple_contact_set_alias(contact, alias) - Purple::BuddyList::Contact contact - const char * alias - const char * purple_contact_get_alias(contact) Purple::BuddyList::Contact contact