pidgin: 3f65b0c7: Should use accessor function purple_conn...

andrew.victor at mxit.com andrew.victor at mxit.com
Mon Aug 29 18:50:49 EDT 2011


----------------------------------------------------------------------
Revision: 3f65b0c73a882d71e5e3f20dd277ad896653c263
Parent:   9a12b2d64fb3d39ea55be4824c30725240ac4969
Author:   andrew.victor at mxit.com
Date:     08/29/11 18:16:06
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/3f65b0c73a882d71e5e3f20dd277ad896653c263

Changelog: 

Should use accessor function purple_connection_get_protocol_data() here.


Changes against parent 9a12b2d64fb3d39ea55be4824c30725240ac4969

  patched  libpurple/protocols/oscar/oscar.c

-------------- next part --------------
============================================================
--- libpurple/protocols/oscar/oscar.c	2ebbcadedd9ca45b5cdf134fd15baea4ac10715a
+++ libpurple/protocols/oscar/oscar.c	4db34caa22a701bd1b93bf53129e08ffc6b496dc
@@ -5040,7 +5040,7 @@ oscar_close_directim(gpointer object, gp
 	name = purple_buddy_get_name(buddy);
 	account = purple_buddy_get_account(buddy);
 	gc = purple_account_get_connection(account);
-	od = gc->proto_data;
+	od = purple_connection_get_protocol_data(gc);
 	conn = peer_connection_find_by_type(od, name, OSCAR_CAPABILITY_DIRECTIM);
 
 	if (conn != NULL)


More information about the Commits mailing list