--- a/console/libgnt/gnttree.h Sun Dec 10 09:09:39 2006 +0000 +++ b/console/libgnt/gnttree.h Sun Dec 10 09:26:44 2006 +0000 @@ -38,6 +38,10 @@ GList *list; /* List of GntTreeRow s */ GHashTable *hash; /* We need this for quickly referencing the rows */ + guint (*hash_func)(gconstpointer); + gboolean (*hash_eq_func)(gconstpointer, gconstpointer); + GDestroyNotify key_destroy; + GDestroyNotify value_destroy; int ncol; /* No. of columns */ struct _GntTreeColInfo @@ -131,6 +135,8 @@ /* This will try to automatically adjust the width of the columns in the tree */ void gnt_tree_adjust_columns(GntTree *tree); +void gnt_tree_set_hash_fns(GntTree *tree, gpointer hash, gpointer eq, gpointer kd); + G_END_DECLS /* The following functions should NOT be used by applications. */