pidgin.next.minor: f951fda3: A few struct hiding cleanups

grim at pidgin.im grim at pidgin.im
Thu Dec 10 20:00:42 EST 2009


-----------------------------------------------------------------
Revision: f951fda387f4773e8984afdcb826cb40b99191b5
Ancestor: ce396f96b952ab4dfdf7451b87269dc6e9cd1b2b
Author: grim at pidgin.im
Date: 2009-12-11T00:21:45
Branch: im.pidgin.pidgin.next.minor
URL: http://d.pidgin.im/viewmtn/revision/info/f951fda387f4773e8984afdcb826cb40b99191b5

Modified files:
        libpurple/protocols/jabber/google.c
        libpurple/protocols/myspace/user.c

ChangeLog: 

A few struct hiding cleanups


-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/google.c	622fab98be24491dfd485ce12410f84bab2b646d
+++ libpurple/protocols/jabber/google.c	a862a3e9f778df53c3c963b3e68c8d9743fed6e8
@@ -1421,7 +1421,7 @@ void google_buddy_node_chat(PurpleBlistN
 	                        NULL, NULL);
 	if (chat) {
 		chat->muc = TRUE;
-		jabber_chat_invite(gc, chat->id, "", buddy->name);
+		jabber_chat_invite(gc, chat->id, "", purple_buddy_get_name(buddy));
 	}
 
 	g_free(room);
============================================================
--- libpurple/protocols/myspace/user.c	b902e0a2214de7f9c2312e75cda3ad6c7a1fc49a
+++ libpurple/protocols/myspace/user.c	105fd3ebfc790ad980b00b48f0068994c6108c28
@@ -54,11 +54,13 @@ msim_get_user_from_buddy(PurpleBuddy *bu
 
 	user = purple_buddy_get_protocol_data(buddy);
 	if (create && !user) {
+		PurpleBlistNode *node = PURPLE_BLIST_NODE(buddy);
+
 		/* No MsimUser for this buddy; make one. */
 
 		user = g_new0(MsimUser, 1);
 		user->buddy = buddy;
-		user->id = purple_blist_node_get_int(&buddy->node, "UserID");
+		user->id = purple_blist_node_get_int(node, "UserID");
 		purple_buddy_set_protocol_data(buddy, user);
 	}
 


More information about the Commits mailing list