# HG changeset patch # User Paul Aurich # Date 1233686592 0 # Node ID 5011b11d322b72d023ba29c0af4fb3ad4c825b62 # Parent 865123f21a7215bc88d4b8662310a65712644395 Alphabetize the XMPP IQ handlers (yes, I'm that anal-retentive) diff -r 865123f21a72 -r 5011b11d322b libpurple/protocols/jabber/iq.c --- a/libpurple/protocols/jabber/iq.c Tue Feb 03 18:14:15 2009 +0000 +++ b/libpurple/protocols/jabber/iq.c Tue Feb 03 18:43:12 2009 +0000 @@ -393,20 +393,20 @@ { 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("jabber:iq:last", jabber_iq_last_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("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("jabber:iq:version", jabber_iq_version_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)