[Pidgin] #547: jabber roster item exchange (XEP-0093, XEP-0144)

Pidgin trac at pidgin.im
Sun Apr 10 15:19:36 EDT 2011


#547: jabber roster item exchange (XEP-0093, XEP-0144)
-----------------------------------------+----------------------------------
 Reporter:  Emil                         |        Owner:  deryni
     Type:  patch                        |       Status:  new   
Milestone:  Patches Needing Improvement  |    Component:  XMPP  
  Version:  2.0                          |   Resolution:        
 Keywords:  jabber rosteritems           |  
-----------------------------------------+----------------------------------

Comment(by darkrain42):

 Resurrected from Google Reader; wjt's glorious correct answer

 {{{
 GList *
 mangle_some_things (const GList *things)
 {
   GQueue queue = G_QUEUE_INIT;

   for (; things != NULL; things = things->next)
     {
       Thing *thing = l->data;

       if (pred (thing))
         g_queue_push_tail (&queue, func (thing));
     }

   return queue.head;
 }
 }}}

-- 
Ticket URL: <http://developer.pidgin.im/ticket/547#comment:13>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list