cpw.darkrain42.xmpp.iq-handlers: 43136a2c: Alphabetize the XMPP IQ handlers (yes, I...

paul at darkrain42.org paul at darkrain42.org
Tue Feb 3 17:40:22 EST 2009


-----------------------------------------------------------------
Revision: 43136a2c50fd1b1adb089d7c47e12ad2152fe747
Ancestor: 17897c9d8d1dc956210208cda10460775bc971f5
Author: paul at darkrain42.org
Date: 2009-02-03T18:43:12
Branch: im.pidgin.cpw.darkrain42.xmpp.iq-handlers
URL: http://d.pidgin.im/viewmtn/revision/info/43136a2c50fd1b1adb089d7c47e12ad2152fe747

Modified files:
        libpurple/protocols/jabber/iq.c

ChangeLog: 

Alphabetize the XMPP IQ handlers (yes, I'm that anal-retentive)

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/iq.c	b144679bc5e17b831c8dfd4808061bc240abbb85
+++ libpurple/protocols/jabber/iq.c	28d53a2b060d030f9233ce4658cbe3283fef9b49
@@ -393,20 +393,20 @@ void jabber_iq_init(void)
 {
 	iq_handlers = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, NULL);
 
-	jabber_iq_register_handler("jabber:iq:roster", jabber_roster_parse);
-	jabber_iq_register_handler("jabber:iq:oob", jabber_oob_parse);
+	jabber_iq_register_handler("google:mail:notify", jabber_gmail_poke);
 	jabber_iq_register_handler("http://jabber.org/protocol/bytestreams", jabber_bytestreams_parse);
+	jabber_iq_register_handler("http://jabber.org/protocol/disco#info", jabber_disco_info_parse);
+	jabber_iq_register_handler("http://jabber.org/protocol/disco#items", jabber_disco_items_parse);
+	jabber_iq_register_handler("http://jabber.org/protocol/si", jabber_si_parse);
 	jabber_iq_register_handler("jabber:iq:last", jabber_iq_last_parse);
+	jabber_iq_register_handler("jabber:iq:oob", jabber_oob_parse);
+	jabber_iq_register_handler("jabber:iq:register", jabber_register_parse);
+	jabber_iq_register_handler("jabber:iq:roster", jabber_roster_parse);
 	jabber_iq_register_handler("jabber:iq:time", jabber_iq_time_parse);
-	jabber_iq_register_handler("urn:xmpp:time", jabber_iq_time_parse);
 	jabber_iq_register_handler("jabber:iq:version", jabber_iq_version_parse);
-	jabber_iq_register_handler("http://jabber.org/protocol/disco#info", jabber_disco_info_parse);
-	jabber_iq_register_handler("http://jabber.org/protocol/disco#items", jabber_disco_items_parse);
-	jabber_iq_register_handler("jabber:iq:register", jabber_register_parse);
+	jabber_iq_register_handler(XEP_0231_NAMESPACE, jabber_data_parse);
 	jabber_iq_register_handler("urn:xmpp:ping", jabber_ping_parse);
-	jabber_iq_register_handler("http://jabber.org/protocol/si", jabber_si_parse);
-	jabber_iq_register_handler("google:mail:notify", jabber_gmail_poke);
-	jabber_iq_register_handler(XEP_0231_NAMESPACE, jabber_data_parse);
+	jabber_iq_register_handler("urn:xmpp:time", jabber_iq_time_parse);
 }
 
 void jabber_iq_uninit(void)


More information about the Commits mailing list