comparison finch/gntblist.c @ 18512:0cb139b20d65

I can pretty much swear this worked at some point. I am not sure when this stopped working. Apparently the ordering of the parameters is wrong.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Fri, 13 Jul 2007 10:50:43 +0000
parents 095718d51209
children fad459189cc5
comparison
equal deleted inserted replaced
18511:7ee0e0597a26 18512:0cb139b20d65
677 PurpleBlistNode *node = ggblist->cnode; 677 PurpleBlistNode *node = ggblist->cnode;
678 if (action) { 678 if (action) {
679 void (*callback)(PurpleBlistNode *, gpointer); 679 void (*callback)(PurpleBlistNode *, gpointer);
680 callback = (void (*)(PurpleBlistNode *, gpointer))action->callback; 680 callback = (void (*)(PurpleBlistNode *, gpointer))action->callback;
681 if (callback) 681 if (callback)
682 callback(action->data, node); 682 callback(node, action->data);
683 else 683 else
684 return; 684 return;
685 } 685 }
686 } 686 }
687 687