Mercurial > pidgin.yaz
changeset 32678:348a933fed78
jabber_presence_create() is marked as deprecated and is not used - so remove it.
author | andrew.victor@mxit.com |
---|---|
date | Sat, 24 Sep 2011 21:14:19 +0000 |
parents | d2ef8926b960 |
children | 904686722499 |
files | libpurple/protocols/jabber/presence.c libpurple/protocols/jabber/presence.h |
diffstat | 2 files changed, 0 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/presence.c Sat Sep 24 21:10:41 2011 +0000 +++ b/libpurple/protocols/jabber/presence.c Sat Sep 24 21:14:19 2011 +0000 @@ -299,11 +299,6 @@ jabber_presence_fake_to_self(js, status); } -xmlnode *jabber_presence_create(JabberBuddyState state, const char *msg, int priority) -{ - return jabber_presence_create_js(NULL, state, msg, priority); -} - xmlnode *jabber_presence_create_js(JabberStream *js, JabberBuddyState state, const char *msg, int priority) { xmlnode *show, *status, *presence, *pri, *c;
--- a/libpurple/protocols/jabber/presence.h Sat Sep 24 21:10:41 2011 +0000 +++ b/libpurple/protocols/jabber/presence.h Sat Sep 24 21:14:19 2011 +0000 @@ -92,7 +92,6 @@ */ void jabber_presence_send(JabberStream *js, gboolean force); -xmlnode *jabber_presence_create(JabberBuddyState state, const char *msg, int priority); /* DEPRECATED */ xmlnode *jabber_presence_create_js(JabberStream *js, JabberBuddyState state, const char *msg, int priority); void jabber_presence_parse(JabberStream *js, xmlnode *packet); void jabber_presence_subscription_set(JabberStream *js, const char *who,