summaryrefslogtreecommitdiff
path: root/eel/eel-canvas.h
diff options
context:
space:
mode:
authorColomban Wendling <[email protected]>2017-01-22 10:17:09 +0100
committermonsta <[email protected]>2017-01-22 13:17:09 +0400
commit136512259cbbf1dab007939ef7cb172ac277b0d3 (patch)
tree64068d4394760e8e6be3fc922c8351185cd496b6 /eel/eel-canvas.h
parentb03c3e3d24e7c623e20d7303c3686b7f914fe43f (diff)
downloadcaja-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 'eel/eel-canvas.h')
-rw-r--r--eel/eel-canvas.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/eel/eel-canvas.h b/eel/eel-canvas.h
index b168aed8..3dcc3264 100644
--- a/eel/eel-canvas.h
+++ b/eel/eel-canvas.h
@@ -575,6 +575,21 @@ extern "C" {
};
#endif
+ GType eel_canvas_item_accessible_get_type (void);
+
+ typedef struct _EelCanvasItemAccessible EelCanvasItemAccessible;
+ typedef struct _EelCanvasItemAccessibleClass EelCanvasItemAccessibleClass;
+
+ struct _EelCanvasItemAccessible
+ {
+ AtkGObjectAccessible parent;
+ };
+
+ struct _EelCanvasItemAccessibleClass
+ {
+ AtkGObjectAccessibleClass parent_class;
+ };
+
#ifdef __cplusplus
}
#endif