Mercurial > pidgin
diff src/protocols/msn/switchboard.c @ 7118:bf630f7dfdcd
[gaim-migrate @ 7685]
Here's a commit that I think will make faceprint happy. GaimWindow ->
GaimConvWindow, GaimIm -> GaimConvIm, GaimChat -> GaimConvChat,
GaimBlistChat -> GaimChat, and updated the API functions as well. Plugin
authors are going to hunt me down and murder me. I can feel it..
committer: Tailor Script <tailor@pidgin.im>
| author | Christian Hammond <chipx86@chipx86.com> |
|---|---|
| date | Thu, 02 Oct 2003 02:54:07 +0000 |
| parents | 083d1e4a9c78 |
| children | ff9127038a5a |
line wrap: on
line diff
--- a/src/protocols/msn/switchboard.c Thu Oct 02 02:15:36 2003 +0000 +++ b/src/protocols/msn/switchboard.c Thu Oct 02 02:54:07 2003 +0000 @@ -127,7 +127,7 @@ return TRUE; if (swboard->chat != NULL) - gaim_chat_remove_user(GAIM_CHAT(swboard->chat), user, NULL); + gaim_conv_chat_remove_user(GAIM_CONV_CHAT(swboard->chat), user, NULL); else { const char *username; GaimConversation *conv; @@ -188,13 +188,13 @@ swboard->chat = serv_got_joined_chat(gc, ++swboard->chat_id, "MSN Chat"); - gaim_chat_add_user(GAIM_CHAT(swboard->chat), + gaim_conv_chat_add_user(GAIM_CONV_CHAT(swboard->chat), gaim_account_get_username(account), NULL); gaim_conversation_destroy(conv); } - gaim_chat_add_user(GAIM_CHAT(swboard->chat), params[3], NULL); + gaim_conv_chat_add_user(GAIM_CONV_CHAT(swboard->chat), params[3], NULL); } return TRUE; @@ -219,9 +219,9 @@ swboard->chat = serv_got_joined_chat(gc, ++swboard->chat_id, "MSN Chat"); - gaim_chat_add_user(GAIM_CHAT(swboard->chat), + gaim_conv_chat_add_user(GAIM_CONV_CHAT(swboard->chat), msn_user_get_passport(swboard->user), NULL); - gaim_chat_add_user(GAIM_CHAT(swboard->chat), + gaim_conv_chat_add_user(GAIM_CONV_CHAT(swboard->chat), gaim_account_get_username(account), NULL); msn_user_unref(swboard->user); @@ -230,7 +230,7 @@ } if (swboard->chat != NULL) - gaim_chat_add_user(GAIM_CHAT(swboard->chat), passport, NULL); + gaim_conv_chat_add_user(GAIM_CONV_CHAT(swboard->chat), passport, NULL); swboard->total_users++; @@ -287,7 +287,7 @@ MsnSwitchBoard *swboard = servconn->data; if (swboard->chat != NULL) - serv_got_chat_left(gc, gaim_chat_get_id(GAIM_CHAT(swboard->chat))); + serv_got_chat_left(gc, gaim_conv_chat_get_id(GAIM_CONV_CHAT(swboard->chat))); msn_switchboard_destroy(swboard); @@ -349,7 +349,7 @@ } if (swboard->chat != NULL) - serv_got_chat_in(gc, gaim_chat_get_id(GAIM_CHAT(swboard->chat)), + serv_got_chat_in(gc, gaim_conv_chat_get_id(GAIM_CONV_CHAT(swboard->chat)), servconn->msg_passport, 0, body, time(NULL)); else serv_got_im(gc, servconn->msg_passport, body, 0, time(NULL));
