Mercurial > pidgin
diff libgaim/plugins/perl/common/BuddyList.xs @ 14717:b1fcd2fc903a
[gaim-migrate @ 17471]
Martijn van Beers provided some patches to rework the perl object
casting/blessing for signal instances in order to let the newly added jabber-*
signals work. This is those patches.
This is also a small whitespace change, a removal of the gaim debug message
about "Found plugin info" it was just pissing me off, and a renamespacing of
gaim_blist_node_get_extended_menu into Gaim::Blist::Node where it makes
slightly more sense.
committer: Tailor Script <tailor@pidgin.im>
author | Etan Reisner <pidgin@unreliablesource.net> |
---|---|
date | Thu, 12 Oct 2006 20:38:47 +0000 |
parents | a9cc230acf0a |
children | 66c857a355b4 |
line wrap: on
line diff
--- a/libgaim/plugins/perl/common/BuddyList.xs Thu Oct 12 13:42:11 2006 +0000 +++ b/libgaim/plugins/perl/common/BuddyList.xs Thu Oct 12 20:38:47 2006 +0000 @@ -216,23 +216,13 @@ gaim_blist_request_add_group() void -gaim_blist_node_get_extended_menu(node) - Gaim::BuddyList::Node node -PREINIT: - GList *l; -PPCODE: - for (l = gaim_blist_node_get_extended_menu(node); l != NULL; l = l->next) { - XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::Menu::Action"))); - } - -void gaim_blist_set_ui_ops(ops) Gaim::BuddyList::UiOps ops Gaim::BuddyList::UiOps gaim_blist_get_ui_ops() -void * +Gaim::Handle gaim_blist_get_handle() void @@ -245,6 +235,16 @@ PROTOTYPES: ENABLE void +gaim_blist_node_get_extended_menu(node) + Gaim::BuddyList::Node node +PREINIT: + GList *l; +PPCODE: + for (l = gaim_blist_node_get_extended_menu(node); l != NULL; l = l->next) { + XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::Menu::Action"))); + } + +void gaim_blist_node_set_bool(node, key, value) Gaim::BuddyList::Node node const char * key