atspi: Made some protected functions protected.

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.
This commit is contained in:
Tom Hacohen 2014-04-03 15:21:28 +01:00
parent f6ee6c772f
commit 61ae26094d
4 changed files with 15 additions and 11 deletions

View 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
*/

View 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;

View File

@ -36,7 +36,7 @@ class Elm_Atspi_Object (Eo_Base, Elm_Interface_Atspi_Component)
get {
}
}
role {
protected role {
get {
}
values {

View 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;