# HG changeset patch # User Elliott Sales de Andrade # Date 1314934163 0 # Node ID 91e8402106c128c89e088df7a849c986987ba5c7 # Parent efe38e6319f2d6fa855f0e9545c57e808f9ad184 Remove old serv attention functions. diff -r efe38e6319f2 -r 91e8402106c1 ChangeLog.API --- 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 diff -r efe38e6319f2 -r 91e8402106c1 libpurple/server.c --- 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. diff -r efe38e6319f2 -r 91e8402106c1 libpurple/server.h --- 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 *);