--- a/finch/libgnt/gnttree.h Sat Jul 14 01:45:41 2007 +0000 +++ b/finch/libgnt/gnttree.h Sat Jul 14 02:15:42 2007 +0000 @@ -83,11 +83,7 @@ gboolean show_title; gboolean show_separator; /* Whether to show column separators */ - GString *search; - int search_timeout; - - GCompareFunc compare; - int lastvisible; + GntTreePriv *priv; }; struct _GntTreeClass @@ -504,6 +500,14 @@ */ void gnt_tree_set_column_width_ratio(GntTree *tree, int cols[]); +/** + * Set the column to use for typeahead searching. + * + * @param tree The tree + * @param col The index of the column + */ +void gnt_tree_set_search_column(GntTree *tree, int col); + G_END_DECLS #endif /* GNT_TREE_H */