diff plugins/perl/common/BuddyList.xs @ 12919:248b8b39c671

[gaim-migrate @ 15272] Replace GaimBlistNodeAction with the more generic GaimMenuAction, this is in preparation for letting the chat room user list have extensible menus like the blist entries do. (I know it's not exactly the prettiest, and the callback isn't exactly type-safe, when we eventually gobjectify everything we can get some safety back by using (GObject, gpointer) but that's for later.) I'm planning to look into merging GaimPluginActions into GaimMenuActions as well. committer: Tailor Script <tailor@pidgin.im>
author Etan Reisner <pidgin@unreliablesource.net>
date Tue, 17 Jan 2006 23:22:19 +0000
parents 43d8af815a9d
children
line wrap: on
line diff
--- a/plugins/perl/common/BuddyList.xs	Tue Jan 17 19:28:45 2006 +0000
+++ b/plugins/perl/common/BuddyList.xs	Tue Jan 17 23:22:19 2006 +0000
@@ -222,10 +222,7 @@
 	GList *l;
 PPCODE:
 	for (l = gaim_blist_node_get_extended_menu(node); l != NULL; l = l->next) {
-		/* XXX I'm pretty sure this is what should be being used here,
-		 * not that it really matters since perl doesn't really have a
-		 * way to interact with a GaimBlistNodeAction anyway. */
-		XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::BuddyList::Node::Action")));
+		XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::Menu::Action")));
 	}
 
 void