changeset 32510:821942586292

purple_contact_set_alias() is deprecated, and can be removed for 3.0.0.
author andrew.victor@mxit.com
date Mon, 05 Sep 2011 20:02:49 +0000
parents 521cb9430f22
children 38ce2e217fcb
files ChangeLog.API libpurple/blist.c libpurple/blist.h libpurple/plugins/perl/common/BuddyList.xs
diffstat 4 files changed, 1 insertions(+), 22 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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);
--- 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.
  *
--- 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