console/libgnt/gnttree.h

changeset 15220
fc8b223f4b75
parent 14939
7ec81b1b7bba
child 15222
7662507d2b35
--- 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. */

mercurial