gobjectification: 1b99af2f: Fix oscar compile again, now that I fixe...

qulogic at pidgin.im qulogic at pidgin.im
Tue Jun 9 01:01:04 EDT 2009


-----------------------------------------------------------------
Revision: 1b99af2fcfc54c034749c7a737530dd390101de5
Ancestor: cb41ea0585b9d9ba2bd513b43f7a9b696b052909
Author: qulogic at pidgin.im
Date: 2009-06-09T03:45:41
Branch: im.pidgin.gobjectification
URL: http://d.pidgin.im/viewmtn/revision/info/1b99af2fcfc54c034749c7a737530dd390101de5

Modified files:
        libpurple/protocols/oscar/oscar.c

ChangeLog: 

Fix oscar compile again, now that I fixed some libpurple things.

-------------- next part --------------
============================================================
--- libpurple/protocols/oscar/oscar.c	5683b7eda3e337f655a2d1a6a75e9156d7f63b1f
+++ libpurple/protocols/oscar/oscar.c	c645404daf193534bfdbfe4761ef96e1d46cd83e
@@ -1435,7 +1435,7 @@ oscar_login(PurpleAccount *account)
 	gc = purple_account_get_connection(account);
 	purple_object_set_protocol_data(PURPLE_OBJECT(gc), od = oscar_data_new());
 	od->gc = gc;
-	purple_connection_set_protocol_data(gc, od);
+	purple_object_set_protocol_data(PURPLE_OBJECT(gc), od);
 
 	oscar_data_addhandler(od, AIM_CB_FAM_SPECIAL, AIM_CB_SPECIAL_CONNERR, purple_connerr, 0);
 	oscar_data_addhandler(od, AIM_CB_FAM_SPECIAL, AIM_CB_SPECIAL_CONNINITDONE, flap_connection_established, 0);
@@ -6182,7 +6182,7 @@ static void oscar_ssi_editcomment(struct
 	const char *username;
 
 	gc = data->gc;
-	od = purple_connection_get_protocol_data(gc);
+	od = purple_object_get_protocol_data(PURPLE_OBJECT(gc));
 	account = purple_connection_get_account(gc);
 
 	b = purple_find_buddy(account, data->name);


More information about the Commits mailing list