diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2012-06-07 23:27:01 -0400 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2012-06-07 23:50:34 -0400 |
commit | 6c5baeb7626eda6629fc6642c9eb513ef8bc5c8e (patch) | |
tree | db88221bacedc6853a9e853291acbd16f2c48ab8 /eel/eel-canvas.h | |
parent | d9fafc1f0f53139bbc3eef432c98ede145b6724d (diff) | |
download | nautilus-6c5baeb7626eda6629fc6642c9eb513ef8bc5c8e.tar.gz |
a11y: fix accessibility implementation for NautilusIconContainer
Clean up a11y code and make sure inheritance for
EelCanvasAccessible->NautilusIconContainerAccessible and for
EelCanvasItemAccessible->NautilusIconCanvasItemAccessible work properly.
This makes the ATK state machinery in EelCanvasItemAccessible work
again, which fixes
https://bugzilla.gnome.org/show_bug.cgi?id=677509
Diffstat (limited to 'eel/eel-canvas.h')
-rw-r--r-- | eel/eel-canvas.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/eel/eel-canvas.h b/eel/eel-canvas.h index 1853936bf..685bfa6a1 100644 --- a/eel/eel-canvas.h +++ b/eel/eel-canvas.h @@ -515,7 +515,7 @@ void eel_canvas_world_to_window (EelCanvas *canvas, double worldx, double worldy, double *winx, double *winy); /* Accessible implementation */ -GType eel_canvas_accessible_get_type(void); +GType eel_canvas_accessible_get_type (void); typedef struct _EelCanvasAccessible EelCanvasAccessible; struct _EelCanvasAccessible @@ -529,6 +529,20 @@ struct _EelCanvasAccessibleClass GtkAccessibleClass parent_class; }; +GType eel_canvas_item_accessible_get_type (void); + +typedef struct _EelCanvasItemAccessible EelCanvasItemAccessible; +struct _EelCanvasItemAccessible +{ + GtkAccessible parent; +}; + +typedef struct _EelCanvasItemAccessibleClass EelCanvasItemAccessibleClass; +struct _EelCanvasItemAccessibleClass +{ + GtkAccessibleClass parent_class; +}; + G_END_DECLS #endif |