a11y: Remove index from cellaccessible

That way we also get rid of the refresh_index function.
This commit is contained in:
Benjamin Otte
2011-11-11 03:02:31 +01:00
parent f05d3f66b1
commit d265636526
4 changed files with 7 additions and 32 deletions

View File

@ -39,13 +39,8 @@ struct _GtkCellAccessible
AtkObject parent;
GtkWidget *widget;
/* This cached value is used only by atk_object_get_index_in_parent()
* which updates the value when it is stale.
*/
gint index;
AtkStateSet *state_set;
GList *action_list;
void (*refresh_index) (GtkCellAccessible *cell);
};
struct _GtkCellAccessibleClass
@ -57,8 +52,7 @@ GType _gtk_cell_accessible_get_type (void);
void _gtk_cell_accessible_initialise (GtkCellAccessible *cell,
GtkWidget *widget,
AtkObject *parent,
gint index);
AtkObject *parent);
gboolean _gtk_cell_accessible_add_state (GtkCellAccessible *cell,
AtkStateType state_type,
gboolean emit_signal);