pidgin: 147161fa: Remove old serv attention functions.
qulogic at pidgin.im
qulogic at pidgin.im
Fri Sep 2 00:37:44 EDT 2011
----------------------------------------------------------------------
Revision: 147161fa8aec87626d636e36927a9db89cc06a3b
Parent: e8dfc4f66bd217f94ae0e7240121ffa5ccf7d4e4
Author: qulogic at pidgin.im
Date: 09/01/11 23:29:23
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/147161fa8aec87626d636e36927a9db89cc06a3b
Changelog:
Remove old serv attention functions.
Changes against parent e8dfc4f66bd217f94ae0e7240121ffa5ccf7d4e4
patched ChangeLog.API
patched libpurple/server.c
patched libpurple/server.h
-------------- next part --------------
============================================================
--- libpurple/server.c 2b3ba919ea5bc2b9ec70760de3a2d49a1c13a074
+++ libpurple/server.c 7ae5301bfdcdedf3703a06afb4ea49959bd8ed8a
@@ -325,19 +325,7 @@ PurpleAttentionType *purple_get_attentio
return attn;
}
-void
-serv_send_attention(PurpleConnection *gc, const char *who, guint type_code)
-{
- purple_prpl_send_attention(gc, who, type_code);
-}
-void
-serv_got_attention(PurpleConnection *gc, const char *who, guint type_code)
-{
- purple_prpl_got_attention(gc, who, type_code);
-}
-
-
/*
* Move a buddy from one group to another on server.
*
============================================================
--- libpurple/server.h 814e3db213e48c7b3ca82d658b3130c48a1eea2a
+++ libpurple/server.h aa2992d9f813d62e61f234e5a81b139230d5b89f
@@ -61,32 +61,6 @@ PurpleAttentionType *purple_get_attentio
*/
PurpleAttentionType *purple_get_attention_type_from_code(PurpleAccount *account, guint type_code);
-/** Send an attention request message.
- *
- * @deprecated Use purple_prpl_send_attention() instead.
- *
- * @param gc The connection to send the message on.
- * @param who Whose attention to request.
- * @param type_code An index into the prpl's attention_types list determining the type
- * of the attention request command to send. 0 if prpl only defines one
- * (for example, Yahoo and MSN), but some protocols define more (MySpaceIM).
- *
- * Note that you can't send arbitrary PurpleAttentionType's, because there is
- * only a fixed set of attention commands.
- */
-void serv_send_attention(PurpleConnection *gc, const char *who, guint type_code);
-
-/** Process an incoming attention message.
- *
- * @deprecated Use purple_prpl_got_attention() instead.
- *
- * @param gc The connection that received the attention message.
- * @param who Who requested your attention.
- * @param type_code An index into the prpl's attention_types list determining the type
- * of the attention request command to send.
- */
-void serv_got_attention(PurpleConnection *gc, const char *who, guint type_code);
-
void serv_get_info(PurpleConnection *, const char *);
void serv_set_info(PurpleConnection *, const char *);
============================================================
--- ChangeLog.API c5ad3db382d2a32d17e5d9a02862b3eb2bfadcc6
+++ ChangeLog.API 13ad8c574c1916bf5b72b35cbedb704ca79e71ca
@@ -117,6 +117,8 @@ version 3.0.0 (??/??/????):
* purple_util_fetch_url_request_len_with_account. Use
purple_util_fetch_url_request_len, instead.
* PurpleConnectionUiOps.report_disconnect_reason
+ * serv_got_attention
+ * serv_send_attention
* struct _GtkIMHtmlFontDetail
* struct _PurpleMenuAction
* struct _PurplePounce
More information about the Commits
mailing list