diff options
author | Colomban Wendling <[email protected]> | 2017-01-22 10:17:09 +0100 |
---|---|---|
committer | monsta <[email protected]> | 2017-01-22 13:17:09 +0400 |
commit | 136512259cbbf1dab007939ef7cb172ac277b0d3 (patch) | |
tree | 64068d4394760e8e6be3fc922c8351185cd496b6 /libcaja-private/caja-icon-canvas-item.c | |
parent | b03c3e3d24e7c623e20d7303c3686b7f914fe43f (diff) | |
download | caja-136512259cbbf1dab007939ef7cb172ac277b0d3.tar.bz2 caja-136512259cbbf1dab007939ef7cb172ac277b0d3.tar.xz |
a11y: fix accessibility implementation for CajaIconCanvasItemAccessible (#712)
Fix CajaIconCanvasItemAccessible inheritance to properly inherit from
EelCanvasItemAccessible. This fixes the ATK state machinery in
CajaIconCanvasItemAccessible, and adds AtkComponent support which
provides several useful features.
See also https://bugzilla.gnome.org/show_bug.cgi?id=677509 and
https://github.com/mate-desktop/caja/issues/706.
Partly based off https://git.gnome.org/browse/nautilus/commit/?id=6c5baeb7626eda6629fc6642c9eb513ef8bc5c8e
Diffstat (limited to 'libcaja-private/caja-icon-canvas-item.c')
-rw-r--r-- | libcaja-private/caja-icon-canvas-item.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libcaja-private/caja-icon-canvas-item.c b/libcaja-private/caja-icon-canvas-item.c index dbe6a7ff..4b8ec729 100644 --- a/libcaja-private/caja-icon-canvas-item.c +++ b/libcaja-private/caja-icon-canvas-item.c @@ -3977,16 +3977,16 @@ caja_icon_canvas_item_accessible_text_interface_init (AtkTextIface *iface) } typedef struct { - AtkGObjectAccessible parent; + EelCanvasItemAccessible parent; } CajaIconCanvasItemAccessible; typedef struct { - AtkGObjectAccessibleClass parent_class; + EelCanvasItemAccessibleClass parent_class; } CajaIconCanvasItemAccessibleClass; G_DEFINE_TYPE_WITH_CODE (CajaIconCanvasItemAccessible, caja_icon_canvas_item_accessible, - ATK_TYPE_GOBJECT_ACCESSIBLE, + eel_canvas_item_accessible_get_type (), G_IMPLEMENT_INTERFACE (ATK_TYPE_IMAGE, caja_icon_canvas_item_accessible_image_interface_init) G_IMPLEMENT_INTERFACE (ATK_TYPE_TEXT, |