Mercurial > pidgin.yaz
diff finch/libgnt/gnttree.h @ 22170:364e67f1a429
Function to get the parent key.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Tue, 22 Jan 2008 07:28:11 +0000 |
parents | 39b078ac8a81 |
children | f60ce471c174 |
line wrap: on
line diff
--- a/finch/libgnt/gnttree.h Tue Jan 22 02:59:56 2008 +0000 +++ b/finch/libgnt/gnttree.h Tue Jan 22 07:28:11 2008 +0000 @@ -575,6 +575,17 @@ void gnt_tree_set_search_function(GntTree *tree, gboolean (*func)(GntTree *tree, gpointer key, const char *search, const char *current)); +/** + * Get the parent key for a row. + * + * @param tree The tree + * @param key The key for the row. + * + * @return The key of the parent row. + * @since 2.4.0 + */ +gpointer gnt_tree_get_parent_key(GntTree *tree, gpointer key); + G_END_DECLS #endif /* GNT_TREE_H */