summaryrefslogtreecommitdiff
path: root/legacy/elementary/src/lib/elm_interface_atspi_accessible.c
diff options
context:
space:
mode:
authorLukasz Stanislawski <l.stanislaws@samsung.com>2015-09-09 13:58:14 +0200
committerLukasz Stanislawski <l.stanislaws@samsung.com>2015-11-20 12:27:19 +0100
commitccc4cefdab5dd0d1918e081d293dea9c7f176f3f (patch)
treea932323536b38d8ea8f242a967fcb5986273d2b6 /legacy/elementary/src/lib/elm_interface_atspi_accessible.c
parentfc6de45f4af769fbd05b3aaf70fe885b2b980e55 (diff)
atspi: move root object creation to atspi class.
Diffstat (limited to '')
-rw-r--r--legacy/elementary/src/lib/elm_interface_atspi_accessible.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/legacy/elementary/src/lib/elm_interface_atspi_accessible.c b/legacy/elementary/src/lib/elm_interface_atspi_accessible.c
index 0c0a213fcd..3e3d8c123c 100644
--- a/legacy/elementary/src/lib/elm_interface_atspi_accessible.c
+++ b/legacy/elementary/src/lib/elm_interface_atspi_accessible.c
@@ -135,6 +135,7 @@ typedef struct _Elm_Interface_Atspi_Accessible_Data Elm_Interface_Atspi_Accessib
135 135
136 136
137static Eina_List *global_callbacks; 137static Eina_List *global_callbacks;
138static Eo *root;
138 139
139EOLIAN static int 140EOLIAN static int
140_elm_interface_atspi_accessible_index_in_parent_get(Eo *obj, Elm_Interface_Atspi_Accessible_Data *pd EINA_UNUSED) 141_elm_interface_atspi_accessible_index_in_parent_get(Eo *obj, Elm_Interface_Atspi_Accessible_Data *pd EINA_UNUSED)
@@ -362,6 +363,7 @@ _elm_interface_atspi_accessible_translation_domain_set(Eo *obj EINA_UNUSED, Elm_
362 eina_stringshare_replace(&pd->translation_domain, domain); 363 eina_stringshare_replace(&pd->translation_domain, domain);
363} 364}
364 365
366
365EOLIAN const char* 367EOLIAN const char*
366_elm_interface_atspi_accessible_translation_domain_get(Eo *obj EINA_UNUSED, Elm_Interface_Atspi_Accessible_Data *pd) 368_elm_interface_atspi_accessible_translation_domain_get(Eo *obj EINA_UNUSED, Elm_Interface_Atspi_Accessible_Data *pd)
367{ 369{
@@ -541,4 +543,13 @@ _elm_interface_atspi_accessible_relationships_clear(Eo *obj EINA_UNUSED, Elm_Int
541 sd->relations = NULL; 543 sd->relations = NULL;
542} 544}
543 545
546EOLIAN Eo*
547_elm_interface_atspi_accessible_root_get(Eo *class EINA_UNUSED, void *pd EINA_UNUSED)
548{
549 if (!root)
550 root = eo_add(ELM_ATSPI_APP_OBJECT_CLASS, NULL);
551
552 return root;
553}
554
544#include "elm_interface_atspi_accessible.eo.c" 555#include "elm_interface_atspi_accessible.eo.c"