a11y: Move update_cache to GtkCellAccesible

This way, we can call it for container renderers, too.
This commit is contained in:
Benjamin Otte
2011-12-16 00:07:46 +01:00
parent 2e7fcc24ac
commit 118bc610f6
7 changed files with 42 additions and 26 deletions

View File

@ -44,6 +44,7 @@ struct _GtkCellAccessible
struct _GtkCellAccessibleClass
{
AtkObjectClass parent_class;
void (*update_cache) (GtkCellAccessible *cell);
};
GType _gtk_cell_accessible_get_type (void);
@ -54,6 +55,7 @@ void _gtk_cell_accessible_state_changed (GtkCellAccessible *cell,
GtkCellRendererState added,
GtkCellRendererState removed);
void _gtk_cell_accessible_set_cell_data (GtkCellAccessible *cell);
void _gtk_cell_accessible_update_cache (GtkCellAccessible *cell);
void _gtk_cell_accessible_initialise (GtkCellAccessible *cell,
GtkWidget *widget,