Mercurial > pidgin
comparison src/blist.c @ 13484:51c6405049a3
[gaim-migrate @ 15860]
This provides a way to get the root node of the buddy list, as
previously the only way was to grab gaimbuddylist->root directly; this
is a problem if you want to traverse the buddy list via, e.g., D-bus.
committer: Tailor Script <tailor@pidgin.im>
author | Ethan Blanton <elb@pidgin.im> |
---|---|
date | Fri, 10 Mar 2006 02:20:56 +0000 |
parents | b53fe4fa46b6 |
children | 8f299b9cd184 |
comparison
equal
deleted
inserted
replaced
13483:bd77abf05a12 | 13484:51c6405049a3 |
---|---|
680 gaim_get_blist() | 680 gaim_get_blist() |
681 { | 681 { |
682 return gaimbuddylist; | 682 return gaimbuddylist; |
683 } | 683 } |
684 | 684 |
685 GaimBlistNode * | |
686 gaim_blist_get_root() | |
687 { | |
688 return gaimbuddylist ? gaimbuddylist->root : NULL; | |
689 } | |
690 | |
685 void gaim_blist_show() | 691 void gaim_blist_show() |
686 { | 692 { |
687 GaimBlistUiOps *ops = gaimbuddylist->ui_ops; | 693 GaimBlistUiOps *ops = gaimbuddylist->ui_ops; |
688 | 694 |
689 if (ops && ops->show) | 695 if (ops && ops->show) |