summaryrefslogtreecommitdiff
path: root/gtk/a11y/gtktreeviewaccessible.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2011-11-12 03:39:48 +0100
committerBenjamin Otte <otte@redhat.com>2011-11-16 04:39:23 +0100
commite927a5b2c7d0be1467f11b37353568862b4e95ec (patch)
treeee0dbf751fc2aa8e9b60ec952a6637d2ebb4a195 /gtk/a11y/gtktreeviewaccessible.h
parent0b716e77eab99c7d6fe0174e3ad039a96a824e7c (diff)
downloadgtk+-e927a5b2c7d0be1467f11b37353568862b4e95ec.tar.gz
treeview: Redo row tracking
Track the RBNode/RBTree instead of keeping a TreeRowReference. This is a whole lot faster and less error-prone. Also, notify the accessible of removal of rows before actually removing them, so we have a chance to clean up.
Diffstat (limited to 'gtk/a11y/gtktreeviewaccessible.h')
-rw-r--r--gtk/a11y/gtktreeviewaccessible.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/a11y/gtktreeviewaccessible.h b/gtk/a11y/gtktreeviewaccessible.h
index c04a81615b..e7de687cbf 100644
--- a/gtk/a11y/gtktreeviewaccessible.h
+++ b/gtk/a11y/gtktreeviewaccessible.h
@@ -21,6 +21,7 @@
#define __GTK_TREE_VIEW_ACCESSIBLE_H__
#include "gtkcontaineraccessible.h"
+#include "gtktreeprivate.h"
G_BEGIN_DECLS
@@ -58,6 +59,11 @@ struct _GtkTreeViewAccessibleClass
GType _gtk_tree_view_accessible_get_type (void);
+/* called by treeview code */
+void _gtk_tree_view_accessible_remove (GtkTreeView *treeview,
+ GtkRBTree *tree,
+ GtkRBNode *node);
+
G_END_DECLS
#endif /* __GTK_TREE_VIEW_ACCESSIBLE_H__ */