pidgin.next.minor: eb6bef6c: Deprecate the unused purple_buddy_get_lo...

rlaager at pidgin.im rlaager at pidgin.im
Fri Oct 31 14:05:39 EDT 2008


-----------------------------------------------------------------
Revision: eb6bef6c2bad87bebbd163d3db3e7c9512216a4b
Ancestor: 9ed3e318c192203170cfab060cdd69db741bc7fb
Author: rlaager at pidgin.im
Date: 2008-10-31T17:49:04
Branch: im.pidgin.pidgin.next.minor
URL: http://d.pidgin.im/viewmtn/revision/info/eb6bef6c2bad87bebbd163d3db3e7c9512216a4b

Modified files:
        ChangeLog.API libpurple/blist.h

ChangeLog: 

Deprecate the unused purple_buddy_get_local_alias() function.

-------------- next part --------------
============================================================
--- ChangeLog.API	4c7fb944f7777dd2d688d4f59b309e7b7aa2eb57
+++ ChangeLog.API	4b923886c8ebf9047dab1f6b466fbc87666d98a5
@@ -8,6 +8,9 @@ version 2.6.0 (??/??/????):
 		* 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:
============================================================
--- libpurple/blist.h	73a5f4f4d43e2759ec80a03a78aa8e71359f6ffe
+++ libpurple/blist.h	5b103289c679c53d40ac6707976a68330b68dbd9
@@ -685,6 +685,7 @@ const char *purple_buddy_get_contact_ali
  */
 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 @@ const char *purple_buddy_get_contact_ali
  * 
  * @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:


More information about the Commits mailing list