changeset 32048:521cb9430f22

purple_blist_update_buddy_icon() has been deprecated since 2.5.0, and can be removed now.
author andrew.victor@mxit.com
date Mon, 05 Sep 2011 19:58:03 +0000
parents e21500d61347
children 821942586292
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 18:34:32 2011 +0000
+++ b/ChangeLog.API	Mon Sep 05 19:58:03 2011 +0000
@@ -107,6 +107,7 @@
 		* PidginConversation.sg
 		* purple_account_add_buddies_with_invite
 		* purple_account_add_buddy_with_invite
+		* purple_blist_update_buddy_icon
 		* purple_buddy_icons_has_custom_icon
 		* purple_buddy_icons_find_custom_icon
 		* purple_buddy_icons_set_custom_icon
--- a/libpurple/blist.c	Mon Sep 05 18:34:32 2011 +0000
+++ b/libpurple/blist.c	Mon Sep 05 19:58:03 2011 +0000
@@ -956,12 +956,6 @@
 		ops->update(purplebuddylist, node);
 }
 
-void
-purple_blist_update_buddy_icon(PurpleBuddy *buddy)
-{
-	purple_blist_update_node_icon((PurpleBlistNode *)buddy);
-}
-
 /*
  * TODO: Maybe remove the call to this from server.c and call it
  * from oscar.c and toc.c instead?
--- a/libpurple/blist.h	Mon Sep 05 18:34:32 2011 +0000
+++ b/libpurple/blist.h	Mon Sep 05 19:58:03 2011 +0000
@@ -454,21 +454,9 @@
  * Updates a node's custom icon.
  *
  * @param node  The PurpleBlistNode whose custom icon has changed.
- *
- * @since 2.5.0
  */
 void purple_blist_update_node_icon(PurpleBlistNode *node);
 
-#if !(defined PURPLE_DISABLE_DEPRECATED) || (defined _PURPLE_BLIST_C_)
-/**
- * Updates a buddy's icon.
- *
- * @param buddy  The buddy whose buddy icon has changed
- * @deprecated Use purple_blist_update_node_icon() instead.
- */
-void purple_blist_update_buddy_icon(PurpleBuddy *buddy);
-#endif
-
 /**
  * Renames a buddy in the buddy list.
  *
--- a/libpurple/plugins/perl/common/BuddyList.xs	Mon Sep 05 18:34:32 2011 +0000
+++ b/libpurple/plugins/perl/common/BuddyList.xs	Mon Sep 05 19:58:03 2011 +0000
@@ -200,10 +200,6 @@
 	Purple::Status old_status
 
 void
-purple_blist_update_buddy_icon(buddy)
-	Purple::BuddyList::Buddy buddy
-
-void
 purple_blist_rename_buddy(buddy, name)
 	Purple::BuddyList::Buddy buddy
 	const char * name