changeset 23117:21636ef92dbb

Update some calls to the functions I just deprecated.
author Etan Reisner <pidgin@unreliablesource.net>
date Tue, 13 May 2008 04:40:04 +0000
parents 944059cb7807
children 4044655e5615
files libpurple/blist.c pidgin/gtkconv.c pidgin/gtkutils.c
diffstat 3 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/blist.c	Tue May 13 04:36:07 2008 +0000
+++ b/libpurple/blist.c	Tue May 13 04:40:04 2008 +0000
@@ -1206,7 +1206,7 @@
 
 	purple_signal_emit(purple_blist_get_handle(), "buddy-icon-changed", buddy);
 
-	purple_blist_update_buddy_icon(buddy);
+	purple_blist_update_node_icon((PurpleBlistNode*)buddy);
 }
 
 PurpleAccount *
--- a/pidgin/gtkconv.c	Tue May 13 04:36:07 2008 +0000
+++ b/pidgin/gtkconv.c	Tue May 13 04:40:04 2008 +0000
@@ -2875,7 +2875,7 @@
 	if (buddy)
 	{
 		PurpleContact *contact = purple_buddy_get_contact(buddy);
-		if (contact && purple_buddy_icons_has_custom_icon(contact))
+		if (contact && purple_buddy_icons_node_has_custom_icon(contact))
 		{
 			pidgin_new_item_from_stock(menu, _("Remove Custom Icon"), NULL,
 			                           G_CALLBACK(remove_custom_icon_cb), gtkconv,
@@ -6912,7 +6912,7 @@
 	{
 		PurpleContact *contact = purple_buddy_get_contact(buddy);
 		if (contact) {
-			custom_img = purple_buddy_icons_find_custom_icon(contact);
+			custom_img = purple_buddy_icons_node_find_custom_icon(contact);
 			if (custom_img) {
 				/* There is a custom icon for this user */
 				data = purple_imgstore_get_data(custom_img);
--- a/pidgin/gtkutils.c	Tue May 13 04:36:07 2008 +0000
+++ b/pidgin/gtkutils.c	Tue May 13 04:40:04 2008 +0000
@@ -2895,7 +2895,7 @@
 			return;
 	}
 
-	purple_buddy_icons_set_custom_icon(contact, data, len);
+	purple_buddy_icons_node_set_custom_icon(contact, data, len);
 }
 
 char *pidgin_make_pretty_arrows(const char *str)