Mercurial > pidgin
diff libpurple/protocols/myspace/myspace.c @ 25892:b5df6cd20d8b
Compile!
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Fri, 02 Jan 2009 22:51:51 +0000 |
parents | c0b42d6c2785 |
children | 68265bcc8814 |
line wrap: on
line diff
--- a/libpurple/protocols/myspace/myspace.c Fri Jan 02 22:35:12 2009 +0000 +++ b/libpurple/protocols/myspace/myspace.c Fri Jan 02 22:51:51 2009 +0000 @@ -2691,6 +2691,13 @@ msim_update_blocklist_for_buddy(session, name, TRUE, FALSE); } +static void +msim_buddy_free(PurpleBuddy *buddy) +{ + msim_user_free(purple_buddy_get_protocol_data(buddy)); + purple_buddy_set_protocol_data(buddy, NULL); +} + /** * Remove a buddy from the user's buddy list. */ @@ -2742,7 +2749,7 @@ * doesn't seem like it would be necessary, but the official client * does it) */ - if (!msim_update_blocklist_for_buddy(session, name, FALSE, FALSE)) + if (!msim_update_blocklist_for_buddy(session, name, FALSE, FALSE)) { purple_notify_error(NULL, NULL, _("Failed to remove buddy"), _("blocklist command failed")); return; @@ -2837,13 +2844,6 @@ msim_update_blocklist_for_buddy(session, name, FALSE, FALSE); } -static void -msim_buddy_free(PurpleBuddy *buddy) -{ - msim_user_free(purple_buddy_get_protocol_data(buddy)); - purple_buddy_set_protocol_data(buddy, NULL); -} - /** * Returns a string of a username in canonical form. Basically removes all the * spaces, lowercases the string, and looks up user IDs to usernames.