pidgin.next.minor: fbcbcd28: Add the buddy-caps-changed signal in ord...

maiku at pidgin.im maiku at pidgin.im
Tue Oct 20 17:06:18 EDT 2009


-----------------------------------------------------------------
Revision: fbcbcd2843fbf25ee8008ef8526ff74ad2774139
Ancestor: a35c198b0181ca88c066a25184c6ef43df259eae
Author: maiku at pidgin.im
Date: 2009-10-20T20:04:06
Branch: im.pidgin.pidgin.next.minor
URL: http://d.pidgin.im/viewmtn/revision/info/fbcbcd2843fbf25ee8008ef8526ff74ad2774139

Modified files:
        ChangeLog.API libpurple/blist.c

ChangeLog: 

Add the buddy-caps-changed signal in order to tell when a buddy's media caps
have changed.

-------------- next part --------------
============================================================
--- ChangeLog.API	689b2f89b6738a09cf65e02b68722b33a9b2756e
+++ ChangeLog.API	ae938fc138e6aa518924de9ace1b0928d7fe1a36
@@ -6,6 +6,7 @@ version 2.7.0 (??/??/????):
 		* purple_account_get_name_for_display
 		* purple_network_get_all_local_system_ips
 		* purple_uuid_random
+		* buddy-caps-changed blist signal
 		* ui-caps-changed media manager signal
 	
 	Pidgin:
============================================================
--- libpurple/blist.c	b57dd4fbe3beea4eb1846eea0e9dab7a2fe90a96
+++ libpurple/blist.c	a1347131289c9b31c82ef3df5298963ebe415fcb
@@ -3187,6 +3187,13 @@ purple_blist_init(void)
 										PURPLE_SUBTYPE_BLIST_NODE),
 						 purple_value_new(PURPLE_TYPE_STRING));
 
+	purple_signal_register(handle, "buddy-caps-changed",
+			purple_marshal_VOID__POINTER_INT_INT, NULL,
+			3, purple_value_new(PURPLE_TYPE_SUBTYPE,
+				PURPLE_SUBTYPE_BLIST_BUDDY),
+			purple_value_new(PURPLE_TYPE_INT),
+			purple_value_new(PURPLE_TYPE_INT));
+
 	purple_signal_connect(purple_accounts_get_handle(), "account-created",
 			handle,
 			PURPLE_CALLBACK(purple_blist_buddies_cache_add_account),


More information about the Commits mailing list