gobjectification: 862aa14c: Fix oscar compile.

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


-----------------------------------------------------------------
Revision: 862aa14c1486cde4553721eecebe0fc06b2df129
Ancestor: 0d58f17be00ea8309b9efceae7f364eb9f60b93f
Author: qulogic at pidgin.im
Date: 2009-06-09T02:39:02
Branch: im.pidgin.gobjectification
URL: http://d.pidgin.im/viewmtn/revision/info/862aa14c1486cde4553721eecebe0fc06b2df129

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

ChangeLog: 

Fix oscar compile.

-------------- next part --------------
============================================================
--- libpurple/protocols/oscar/oscar.c	04e53ae978b82d94eefeb0dc79526e603ea907eb
+++ libpurple/protocols/oscar/oscar.c	5683b7eda3e337f655a2d1a6a75e9156d7f63b1f
@@ -4339,7 +4339,7 @@ oscar_send_typing(PurpleConnection *gc, 
 	else {
 		/* Don't send if this turkey is in our deny list */
 		GSList *list;
-		for (list=purple_connection_get_account->deny; (list && oscar_util_name_compare(name, list->data)); list=list->next);
+		for (list=purple_connection_get_account(gc)->deny; (list && oscar_util_name_compare(name, list->data)); list=list->next);
 		if (!list) {
 			struct buddyinfo *bi = g_hash_table_lookup(od->buddyinfo, purple_normalize(purple_connection_get_account(gc), name));
 			if (bi && bi->typingnot) {
@@ -5019,7 +5019,7 @@ void oscar_remove_group(PurpleConnection
 
 void oscar_remove_group(PurpleConnection *gc, PurpleGroup *group)
 {
-	aim_ssi_delgroup(purple_object_get_protocol_data(gc), purple_group_get_name(group));
+	aim_ssi_delgroup(purple_object_get_protocol_data(PURPLE_OBJECT(gc)), purple_group_get_name(group));
 }
 
 static gboolean purple_ssi_rerequestdata(gpointer data) {
@@ -6315,7 +6315,7 @@ oscar_get_aim_info_cb(PurpleBlistNode *n
 	buddy = (PurpleBuddy *)node;
 	gc = purple_account_get_connection(purple_buddy_get_account(buddy));
 
-	aim_locate_getinfoshort(purple_object_get_protocol_data(PURPLE_OBJECT(gc)), purple_buddy_get_name(buddy), 0x00000003);
+	aim_locate_getinfoshort(purple_object_get_protocol_data(PURPLE_OBJECT(gc)),
 			purple_buddy_get_name(buddy), 0x00000003);
 }
 


More information about the Commits mailing list