pidgin: d9391a82: Change the other prpls to use new purple...
qulogic at pidgin.im
qulogic at pidgin.im
Tue Aug 12 00:58:57 EDT 2008
-----------------------------------------------------------------
Revision: d9391a826c036d137ff644618c9858a60f7a0192
Ancestor: d4229cd8598da3fde06a0603964c1226a15c50c0
Author: qulogic at pidgin.im
Date: 2008-08-10T05:11:59
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/d9391a826c036d137ff644618c9858a60f7a0192
Modified files:
libpurple/protocols/msn/msn.c
libpurple/protocols/msnp9/msn.c
libpurple/protocols/myspace/zap.c
libpurple/protocols/yahoo/yahoo.c
ChangeLog:
Change the other prpls to use new purple_prpl_{send,got}_attention API.
-------------- next part --------------
============================================================
--- libpurple/protocols/msn/msn.c f799aa0cfe87c353ee7e8242ca10664ff397e13c
+++ libpurple/protocols/msn/msn.c b9b7cd1cefd7fa9b552eac0f7f0c19a36d5fd27f
@@ -163,7 +163,7 @@ msn_cmd_nudge(PurpleConversation *conv,
username = purple_conversation_get_name(conv);
- serv_send_attention(gc, username, MSN_NUDGE);
+ purple_prpl_send_attention(gc, username, MSN_NUDGE);
return PURPLE_CMD_RET_OK;
}
============================================================
--- libpurple/protocols/msnp9/msn.c 346b0998de97a00aa32f9dd69f81e808149eca92
+++ libpurple/protocols/msnp9/msn.c 5e571e10e335bb53c0ac2c5a4ebb5c14627503a0
@@ -162,7 +162,7 @@ msn_cmd_nudge(PurpleConversation *conv,
username = purple_conversation_get_name(conv);
- serv_send_attention(gc, username, MSN_NUDGE);
+ purple_prpl_send_attention(gc, username, MSN_NUDGE);
return PURPLE_CMD_RET_OK;
}
============================================================
--- libpurple/protocols/myspace/zap.c 1387248065b45d0c165c387238348c6e444bcaa9
+++ libpurple/protocols/myspace/zap.c 6053f3bd91bca7367cc461e72a8a51fb52a31572
@@ -183,7 +183,7 @@ msim_send_zap_from_menu(PurpleBlistNode
zap = GPOINTER_TO_INT(zap_num_ptr);
- serv_send_attention(session->gc, buddy->name, zap);
+ purple_prpl_send_attention(session->gc, buddy->name, zap);
}
/** Return menu, if any, for a buddy list node. */
@@ -241,7 +241,7 @@ msim_incoming_zap(MsimSession *session,
zap = CLAMP(zap, 0, 9);
- serv_got_attention(session->gc, username, zap);
+ purple_prpl_got_attention(session->gc, username, zap);
g_free(msg_text);
g_free(username);
============================================================
--- libpurple/protocols/yahoo/yahoo.c 7615d64f5bd4a969347a5ed47f25249173786dc7
+++ libpurple/protocols/yahoo/yahoo.c 01fb04b9875466a521a151e4a6f5366b7f1c2b9f
@@ -871,7 +871,7 @@ static void yahoo_process_message(Purple
c = purple_conversation_new(PURPLE_CONV_TYPE_IM, account, im->from);
username = g_markup_escape_text(im->from, -1);
- serv_got_attention(gc, username, YAHOO_BUZZ);
+ purple_prpl_got_attention(gc, username, YAHOO_BUZZ);
g_free(username);
g_free(m);
g_free(im);
@@ -4096,7 +4096,7 @@ yahoopurple_cmd_buzz(PurpleConversation
if (*args && args[0])
return PURPLE_CMD_RET_FAILED;
- serv_send_attention(account->gc, c->name, YAHOO_BUZZ);
+ purple_prpl_send_attention(account->gc, c->name, YAHOO_BUZZ);
return PURPLE_CMD_RET_OK;
}
More information about the Commits
mailing list