Mercurial > pidgin
changeset 23693:797377cbd5bf
Change the other prpls to use new purple_prpl_{send,got}_attention API.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Sun, 10 Aug 2008 05:11:59 +0000 |
parents | d3262085b7a7 |
children | 019d5ae3ad72 |
files | libpurple/protocols/msn/msn.c libpurple/protocols/msnp9/msn.c libpurple/protocols/myspace/zap.c libpurple/protocols/yahoo/yahoo.c |
diffstat | 4 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/msn/msn.c Sun Aug 10 04:59:17 2008 +0000 +++ b/libpurple/protocols/msn/msn.c Sun Aug 10 05:11:59 2008 +0000 @@ -163,7 +163,7 @@ 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; }
--- a/libpurple/protocols/msnp9/msn.c Sun Aug 10 04:59:17 2008 +0000 +++ b/libpurple/protocols/msnp9/msn.c Sun Aug 10 05:11:59 2008 +0000 @@ -162,7 +162,7 @@ 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; }
--- a/libpurple/protocols/myspace/zap.c Sun Aug 10 04:59:17 2008 +0000 +++ b/libpurple/protocols/myspace/zap.c Sun Aug 10 05:11:59 2008 +0000 @@ -183,7 +183,7 @@ 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 @@ 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);
--- a/libpurple/protocols/yahoo/yahoo.c Sun Aug 10 04:59:17 2008 +0000 +++ b/libpurple/protocols/yahoo/yahoo.c Sun Aug 10 05:11:59 2008 +0000 @@ -871,7 +871,7 @@ 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 @@ 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; }