Mercurial > pidgin
diff console/libgnt/gnttree.h @ 14105:eaf7f35635bc
[gaim-migrate @ 16739]
Allow autojoining chat rooms.
Sort the buddies in the buddylist, and the plugins in the plugin list.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sun, 13 Aug 2006 23:30:19 +0000 |
parents | ae4cbed1b309 |
children | 4a901f5d1312 |
line wrap: on
line diff
--- a/console/libgnt/gnttree.h Sun Aug 13 08:41:07 2006 +0000 +++ b/console/libgnt/gnttree.h Sun Aug 13 23:30:19 2006 +0000 @@ -46,6 +46,8 @@ char *title; } *columns; /* Would a GList be better? */ gboolean show_title; + + GCompareFunc compare; }; struct _GnTreeClass @@ -76,6 +78,8 @@ GntTreeRow *gnt_tree_add_row_after(GntTree *tree, void *key, GntTreeRow *row, void *parent, void *bigbro); +GntTreeRow *gnt_tree_add_row_last(GntTree *tree, void *key, GntTreeRow *row, void *parent); + gpointer gnt_tree_get_selection_data(GntTree *tree); /* Returned string needs to be freed */ @@ -112,6 +116,8 @@ void gnt_tree_set_show_title(GntTree *tree, gboolean set); +void gnt_tree_set_compare_func(GntTree *tree, GCompareFunc func); + G_END_DECLS #endif /* GNT_TREE_H */