summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-09-12 19:42:26 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-09-13 09:57:20 +0900
commit0885d0c405316e0a807d00f38d22f74cd11be5f6 (patch)
tree04f0ab8ce2dbd7a200e28a235d7839718e4574d2
parente4a440797b04a1738a20f54a075c5f20186e40e0 (diff)
downloadefl-0885d0c405316e0a807d00f38d22f74cd11be5f6.tar.gz
elm: Fix use of Efl.Access APIs
See also 7d397c9f195a9121153909c0f Thanks @stefan for the first fix patch, I simply failed to push this one early enough.
-rw-r--r--src/bindings/js/efl_js/efl_js.cc4
-rw-r--r--src/lib/elementary/elementary_js.cc4
-rw-r--r--src/tests/elementary/elm_test_button.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/src/bindings/js/efl_js/efl_js.cc b/src/bindings/js/efl_js/efl_js.cc
index 8a5e7ba735..c4f1f0bb71 100644
--- a/src/bindings/js/efl_js/efl_js.cc
+++ b/src/bindings/js/efl_js/efl_js.cc
@@ -153,7 +153,7 @@ EAPI void register_object(v8::Handle<v8::Object> global, v8::Isolate* isolate);
EAPI void register_elm_atspi_app_object(v8::Handle<v8::Object> global, v8::Isolate* isolate);
EAPI void register_elm_interface_atspi_accessible(v8::Handle<v8::Object> global, v8::Isolate* isolate);
EAPI void register_elm_interface_atspi_action(v8::Handle<v8::Object> global, v8::Isolate* isolate);
-EAPI void register_elm_interface_atspi_component(v8::Handle<v8::Object> global, v8::Isolate* isolate);
+EAPI void register_efl_access_component(v8::Handle<v8::Object> global, v8::Isolate* isolate);
EAPI void register_elm_interface_atspi_editable_text(v8::Handle<v8::Object> global, v8::Isolate* isolate);
EAPI void register_elm_interface_atspi_image(v8::Handle<v8::Object> global, v8::Isolate* isolate);
EAPI void register_elm_interface_atspi_selection(v8::Handle<v8::Object> global, v8::Isolate* isolate);
@@ -387,7 +387,7 @@ EAPI void init(v8::Handle<v8::Object> exports)
// ::register_elm_interface_atspi_accessible(exports, v8::Isolate::GetCurrent());
// ::register_elm_interface_atspi_action(exports, v8::Isolate::GetCurrent());
- // ::register_elm_interface_atspi_component(exports, v8::Isolate::GetCurrent());
+ // ::register_efl_access_component(exports, v8::Isolate::GetCurrent());
// ::register_elm_interface_atspi_editable_text(exports, v8::Isolate::GetCurrent());
// ::register_elm_interface_atspi_image(exports, v8::Isolate::GetCurrent());
// ::register_elm_interface_atspi_selection(exports, v8::Isolate::GetCurrent());
diff --git a/src/lib/elementary/elementary_js.cc b/src/lib/elementary/elementary_js.cc
index 5260eebd7d..7d7343ca32 100644
--- a/src/lib/elementary/elementary_js.cc
+++ b/src/lib/elementary/elementary_js.cc
@@ -37,7 +37,7 @@
EAPI void register_elm_atspi_app_object(v8::Handle<v8::Object> global, v8::Isolate* isolate);
EAPI void register_elm_interface_atspi_accessible(v8::Handle<v8::Object> global, v8::Isolate* isolate);
EAPI void register_elm_interface_atspi_action(v8::Handle<v8::Object> global, v8::Isolate* isolate);
-EAPI void register_elm_interface_atspi_component(v8::Handle<v8::Object> global, v8::Isolate* isolate);
+EAPI void register_efl_access_component(v8::Handle<v8::Object> global, v8::Isolate* isolate);
EAPI void register_elm_interface_atspi_text_editable(v8::Handle<v8::Object> global, v8::Isolate* isolate);
EAPI void register_elm_interface_atspi_image(v8::Handle<v8::Object> global, v8::Isolate* isolate);
EAPI void register_elm_interface_atspi_selection(v8::Handle<v8::Object> global, v8::Isolate* isolate);
@@ -202,7 +202,7 @@ void init(v8::Handle<v8::Object> exports)
elm::register_index(exports, v8::Isolate::GetCurrent());
::register_elm_interface_atspi_accessible(exports, v8::Isolate::GetCurrent());
::register_elm_interface_atspi_action(exports, v8::Isolate::GetCurrent());
- ::register_elm_interface_atspi_component(exports, v8::Isolate::GetCurrent());
+ ::register_efl_access_component(exports, v8::Isolate::GetCurrent());
::register_elm_interface_atspi_text_editable(exports, v8::Isolate::GetCurrent());
::register_elm_interface_atspi_image(exports, v8::Isolate::GetCurrent());
::register_elm_interface_atspi_selection(exports, v8::Isolate::GetCurrent());
diff --git a/src/tests/elementary/elm_test_button.c b/src/tests/elementary/elm_test_button.c
index b52d2538ef..16c72591a1 100644
--- a/src/tests/elementary/elm_test_button.c
+++ b/src/tests/elementary/elm_test_button.c
@@ -3,7 +3,7 @@
#endif
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#define ELM_INTERFACE_ATSPI_COMPONENT_PROTECTED
+#define EFL_ACCESS_COMPONENT_PROTECTED
#define ELM_INTERFACE_ATSPI_ACTION_PROTECTED
#include <Elementary.h>
#include "elm_suite.h"