Mercurial > pidgin
diff libpurple/plugins/perl/common/Notify.xs @ 31909:6283c0f2b02f
Change PurpleNotifyUserInfo->user_info_entries from a GList to a GQueue.
This makes appending fast.
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Mon, 22 Aug 2011 04:14:16 +0000 |
| parents | a686269689fe |
| children | 0cc718e10344 |
line wrap: on
line diff
--- a/libpurple/plugins/perl/common/Notify.xs Mon Aug 22 03:40:04 2011 +0000 +++ b/libpurple/plugins/perl/common/Notify.xs Mon Aug 22 04:14:16 2011 +0000 @@ -135,7 +135,7 @@ PREINIT: GList *l; PPCODE: - l = purple_notify_user_info_get_entries(user_info); + l = purple_notify_user_info_get_entries(user_info)->head; for (; l != NULL; l = l->next) { XPUSHs(sv_2mortal(purple_perl_bless_object(l->data, "Purple::NotifyUserInfoEntry"))); }
