# HG changeset patch # User Richard Laager # Date 1141182370 0 # Node ID ba9946650bf79cfb78d7c02c5deff4db1af48a00 # Parent 475214c22abf9bc3b08446a22e63325c9c21cc79 [gaim-migrate @ 15725] SF Patch #1440718 from Scott Wolchok "If a Perl plugin has multiple actions, they are placed in the action menu in the wrong order because the POP* macros take elements of a returned array off the Perl stack in reverse order." committer: Tailor Script diff -r 475214c22abf -r ba9946650bf7 plugins/perl/perl-handlers.c --- a/plugins/perl/perl-handlers.c Wed Mar 01 02:48:09 2006 +0000 +++ b/plugins/perl/perl-handlers.c Wed Mar 01 03:06:10 2006 +0000 @@ -93,7 +93,7 @@ /* XXX I think this leaks, but doing it without the strdup * just showed garbage */ act = gaim_plugin_action_new(g_strdup(label), gaim_perl_plugin_action_cb); - l = g_list_append(l, act); + l = g_list_prepend(l, act); } PUTBACK;