pidgin: 0b1b58f2: purple_contact_set_alias() is deprecated...

andrew.victor at mxit.com andrew.victor at mxit.com
Mon Sep 5 17:50:47 EDT 2011


----------------------------------------------------------------------
Revision: 0b1b58f25b4742595a772a11dd22b10fe8ec5c70
Parent:   08bd59fc887448656c0f2c9de9ec3bf39f092913
Author:   andrew.victor at mxit.com
Date:     09/05/11 16:02:49
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/0b1b58f25b4742595a772a11dd22b10fe8ec5c70

Changelog: 

purple_contact_set_alias() is deprecated, and can be removed for 3.0.0.


Changes against parent 08bd59fc887448656c0f2c9de9ec3bf39f092913

  patched  ChangeLog.API
  patched  libpurple/blist.c
  patched  libpurple/blist.h
  patched  libpurple/plugins/perl/common/BuddyList.xs

-------------- next part --------------
============================================================
--- libpurple/blist.c	e1f62b8f37a5cd42d725c4ed445752c7a4992cbd
+++ libpurple/blist.c	af606d7e6bc7f28c5dc79f574b560e4197116877
@@ -1737,11 +1737,6 @@ purple_contact_get_group(const PurpleCon
 	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);
============================================================
--- libpurple/blist.h	280bc72fa3173ea836a639e4db30d49e8fa51eea
+++ libpurple/blist.h	8105c6b05132a33fba59c892f96b1e1a7e42b506
@@ -762,19 +762,7 @@ PurpleBuddy *purple_contact_get_priority
  */
 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.
  *
  * @param contact  The contact
============================================================
--- libpurple/plugins/perl/common/BuddyList.xs	99fe2dad622ffea28def15ab4d076e9ff96bb23a
+++ libpurple/plugins/perl/common/BuddyList.xs	665c03a9e6d75d06e794026fcc1bf629d63ef995
@@ -82,11 +82,6 @@ purple_contact_get_priority_buddy(contac
 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
============================================================
--- ChangeLog.API	7915e28acda2459dce277ae6b5923b3a8e67e0f7
+++ ChangeLog.API	d4cf958b5ca23ad4771f5e06a6c755267a10e131
@@ -112,6 +112,7 @@ version 3.0.0 (??/??/????):
 		* 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


More information about the Commits mailing list