changeset 13353:ba9946650bf7

[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 <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Wed, 01 Mar 2006 03:06:10 +0000
parents 475214c22abf
children da2179c099f0
files plugins/perl/perl-handlers.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;