pidgin: 700f944d: jabber_presence_create() is marked as de...

andrew.victor at mxit.com andrew.victor at mxit.com
Sat Sep 24 17:20:57 EDT 2011


----------------------------------------------------------------------
Revision: 700f944d25882f64a5ce15e7d34382e66dfc4ee8
Parent:   8c6807531aee7d0e0d3c6357048d1a4914d03d93
Author:   andrew.victor at mxit.com
Date:     09/24/11 17:14:19
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/700f944d25882f64a5ce15e7d34382e66dfc4ee8

Changelog: 

jabber_presence_create() is marked as deprecated and is not used - so remove it.


Changes against parent 8c6807531aee7d0e0d3c6357048d1a4914d03d93

  patched  libpurple/protocols/jabber/presence.c
  patched  libpurple/protocols/jabber/presence.h

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/presence.c	f648991d384e65ea6a2f1e8232ccc580c1dc9cdb
+++ libpurple/protocols/jabber/presence.c	8aeca6ada866356f85868569e1e8d3a769061617
@@ -299,11 +299,6 @@ void jabber_presence_send(JabberStream *
 	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;
============================================================
--- libpurple/protocols/jabber/presence.h	cc80ff55fcda9f0353daf26fdbb46c57475f5232
+++ libpurple/protocols/jabber/presence.h	d96dfd36c80d2f14eacc54327bcd9108c980b4e2
@@ -92,7 +92,6 @@ void jabber_presence_send(JabberStream *
  */
 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,


More information about the Commits mailing list