pidgin.next.minor: 025c7567: Update some calls to the functions I jus...

deryni at pidgin.im deryni at pidgin.im
Sat May 17 16:16:12 EDT 2008


-----------------------------------------------------------------
Revision: 025c7567cca7d5c034409f2a939d0550a299bec2
Ancestor: 00165bfea0f075a2a19466c7f7537b7ea461a266
Author: deryni at pidgin.im
Date: 2008-05-13T04:40:04
Branch: im.pidgin.pidgin.next.minor
URL: http://d.pidgin.im/viewmtn/revision/info/025c7567cca7d5c034409f2a939d0550a299bec2

Modified files:
        libpurple/blist.c pidgin/gtkconv.c pidgin/gtkutils.c

ChangeLog: 

Update some calls to the functions I just deprecated.

-------------- next part --------------
============================================================
--- libpurple/blist.c	01822c015ad4595964807df0787495e729ace501
+++ libpurple/blist.c	11c4669970c2926abd7cfa1f5ff4b544adb50a74
@@ -1206,7 +1206,7 @@ purple_buddy_set_icon(PurpleBuddy *buddy
 
 	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 *
============================================================
--- pidgin/gtkconv.c	8e40e4d5171b6f05ba4c5a840454be1fceedb5df
+++ pidgin/gtkconv.c	f79a80b17eca3d68c420a64d2da77bc59ef3c795
@@ -2875,7 +2875,7 @@ icon_menu(GtkObject *obj, GdkEventButton
 	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 @@ pidgin_conv_update_buddy_icon(PurpleConv
 	{
 		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);
============================================================
--- pidgin/gtkutils.c	1f7ab27c066ae4b3881c19703dc4fc81239f3db3
+++ pidgin/gtkutils.c	a523d52ed04714c7e39ee2a141f17b3a10dae591
@@ -2895,7 +2895,7 @@ void pidgin_set_custom_buddy_icon(Purple
 			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)


More information about the Commits mailing list