changeset 25801:178efff39041

Deprecate the unused purple_buddy_get_local_alias() function.
author Richard Laager <rlaager@wiktel.com>
date Fri, 31 Oct 2008 17:49:04 +0000
parents 8b7ae3775a0b
children d93c93dfa435
files ChangeLog.API libpurple/blist.h
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog.API	Fri Oct 31 17:46:39 2008 +0000
+++ b/ChangeLog.API	Fri Oct 31 17:49:04 2008 +0000
@@ -8,6 +8,9 @@
 		* purple_connection_get_protocol_data
 		* purple_connection_set_protocol_data
 
+		Deprecated:
+		* purple_buddy_get_local_alias
+
 version 2.5.0 (08/18/2008):
 	libpurple:
 		Added:
--- a/libpurple/blist.h	Fri Oct 31 17:46:39 2008 +0000
+++ b/libpurple/blist.h	Fri Oct 31 17:49:04 2008 +0000
@@ -685,6 +685,7 @@
  */
 const char *purple_buddy_get_contact_alias(PurpleBuddy *buddy);
 
+#if !(defined PURPLE_DISABLE_DEPRECATED) || (defined _PURPLE_BLIST_C_)
 /**
  * Returns the correct alias for this user, ignoring server aliases.  Used
  * when a user-recognizable name is required.  In order: buddy's alias; buddy's
@@ -692,8 +693,10 @@
  * 
  * @param buddy  The buddy whose alias will be returned.
  * @return       The appropriate name or alias.
+ * @deprecated   Try purple_buddy_get_alias(), if server aliases are okay.
  */
 const char *purple_buddy_get_local_alias(PurpleBuddy *buddy);
+#endif
 
 /**
  * Returns the correct name to display for a buddy. In order of precedence: