atspi: Made some protected functions protected.
authorTom Hacohen <tom@stosb.com>
Thu, 3 Apr 2014 14:21:28 +0000 (15:21 +0100)
committerTom Hacohen <tom@stosb.com>
Thu, 10 Apr 2014 08:39:32 +0000 (09:39 +0100)
They should be protected and they break compilation if they are not. I'm
pretty sure much more functions should be protected, but this one
definitely.

src/lib/elm_atspi_bridge.c
src/lib/elm_atspi_object.c
src/lib/elm_atspi_object.eo
src/lib/elm_interface_atspi_component.eo

index 41fabc09c8148f31d94d4072471f86c81e5a4c74..75e2e81ffb125c431ce8590878e229b251a52b95 100644 (file)
@@ -2,13 +2,15 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_COMPONENT_PROTECTED
+#define ELM_ATSPI_OBJECT_PROTECTED
+#include "atspi/atspi-constants.h"
+
 #include <stdint.h>
 #include <Elementary.h>
 #include "elm_priv.h"
 #include <assert.h>
 
-#include "atspi/atspi-constants.h"
-
 /*
  * Accessibility Bus info not defined in atspi-constants.h
  */
index ac0b2ce360b9f6acc630d7c7032fa1500bbed02c..b1b2f098fb507580b9860871bc5cee3f58635f73 100644 (file)
@@ -2,13 +2,15 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_COMPONENT_PROTECTED
+#define ELM_ATSPI_OBJECT_PROTECTED
+#include "atspi/atspi-constants.h"
+
 #include <Elementary.h>
 #include "elm_widget.h"
 #include "elm_priv.h"
 #include "assert.h"
 
-#include "atspi/atspi-constants.h"
-
 static Elm_Atspi_Object *_app;
 static Eina_List *_global_callbacks;
 
index d788350473b51d9ce6ab9abfe0f84127a526528d..49b19e5a5b141f1c40fc299ea97b39011ce173d6 100644 (file)
@@ -36,7 +36,7 @@ class Elm_Atspi_Object (Eo_Base, Elm_Interface_Atspi_Component)
          get {
          }
       }
-      role {
+      protected role {
          get {
          }
          values {
index 8b2d457db75deb8b476a6165d6303581537a0cb7..d1b4b6a65eea2f32dfb28cfdd88148dcb789b40b 100644 (file)
@@ -38,7 +38,7 @@ mixin Elm_Interface_Atspi_Component ()
       }
    }
    methods {
-      extents_set {
+      protected extents_set {
          params {
             @in int x;
             @in int y;
@@ -48,7 +48,7 @@ mixin Elm_Interface_Atspi_Component ()
          }
          return Eina_Bool;
       }
-      extents_get {
+      protected extents_get {
          params {
             @out int x;
             @out int y;
@@ -57,7 +57,7 @@ mixin Elm_Interface_Atspi_Component ()
             @in AtspiCoordType type;
          }
       }
-      contains {
+      protected contains {
          params {
             @in int x;
             @in int y;
@@ -68,7 +68,7 @@ mixin Elm_Interface_Atspi_Component ()
       focus_grab {
          return Eina_Bool;
       }
-      accessible_at_point_get {
+      protected accessible_at_point_get {
          params {
             @in int x;
             @in int y;
@@ -76,7 +76,7 @@ mixin Elm_Interface_Atspi_Component ()
          }
          return Elm_Atspi_Object *;
       }
-      position_set {
+      protected position_set {
          params {
             @in int x;
             @in int y;
@@ -84,7 +84,7 @@ mixin Elm_Interface_Atspi_Component ()
          }
          return Eina_Bool;
       }
-      position_get {
+      protected position_get {
          params {
             @out int x;
             @out int y;