summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eel/eel-canvas.c15
-rw-r--r--eel/eel-canvas.h15
-rw-r--r--libcaja-private/caja-icon-canvas-item.c6
3 files changed, 18 insertions, 18 deletions
diff --git a/eel/eel-canvas.c b/eel/eel-canvas.c
index 4f040074..d88aeecb 100644
--- a/eel/eel-canvas.c
+++ b/eel/eel-canvas.c
@@ -3992,21 +3992,6 @@ eel_canvas_item_accessible_ref_state_set (AtkObject *accessible)
return state_set;
}
-static GType eel_canvas_item_accessible_get_type (void);
-
-typedef struct _EelCanvasItemAccessible EelCanvasItemAccessible;
-typedef struct _EelCanvasItemAccessibleClass EelCanvasItemAccessibleClass;
-
-struct _EelCanvasItemAccessible
-{
- GtkAccessible parent;
-};
-
-struct _EelCanvasItemAccessibleClass
-{
- GtkAccessibleClass parent_class;
-};
-
G_DEFINE_TYPE_WITH_CODE (EelCanvasItemAccessible,
eel_canvas_item_accessible,
ATK_TYPE_GOBJECT_ACCESSIBLE,
diff --git a/eel/eel-canvas.h b/eel/eel-canvas.h
index 4b4505f3..c0cbd301 100644
--- a/eel/eel-canvas.h
+++ b/eel/eel-canvas.h
@@ -558,6 +558,21 @@ extern "C" {
GtkContainerAccessibleClass parent_class;
};
+ GType eel_canvas_item_accessible_get_type (void);
+
+ typedef struct _EelCanvasItemAccessible EelCanvasItemAccessible;
+ typedef struct _EelCanvasItemAccessibleClass EelCanvasItemAccessibleClass;
+
+ struct _EelCanvasItemAccessible
+ {
+ GtkAccessible parent;
+ };
+
+ struct _EelCanvasItemAccessibleClass
+ {
+ GtkAccessibleClass parent_class;
+ };
+
#ifdef __cplusplus
}
#endif
diff --git a/libcaja-private/caja-icon-canvas-item.c b/libcaja-private/caja-icon-canvas-item.c
index 692c77b3..4eb7f1c0 100644
--- a/libcaja-private/caja-icon-canvas-item.c
+++ b/libcaja-private/caja-icon-canvas-item.c
@@ -3436,16 +3436,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,