changeset 32478:91e8402106c1

Remove old serv attention functions.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Fri, 02 Sep 2011 03:29:23 +0000
parents efe38e6319f2
children 2c58de59bd57
files ChangeLog.API libpurple/server.c libpurple/server.h
diffstat 3 files changed, 2 insertions(+), 38 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog.API	Fri Sep 02 03:18:15 2011 +0000
+++ b/ChangeLog.API	Fri Sep 02 03:29:23 2011 +0000
@@ -117,6 +117,8 @@
 		* 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
--- a/libpurple/server.c	Fri Sep 02 03:18:15 2011 +0000
+++ b/libpurple/server.c	Fri Sep 02 03:29:23 2011 +0000
@@ -325,18 +325,6 @@
 	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.
--- a/libpurple/server.h	Fri Sep 02 03:18:15 2011 +0000
+++ b/libpurple/server.h	Fri Sep 02 03:29:23 2011 +0000
@@ -61,32 +61,6 @@
  */
 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 *);