a11y: Remove index from cellaccessible
That way we also get rid of the refresh_index function.
This commit is contained in:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user