summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2019-08-16 16:17:57 -0700
committerCedric BAIL <cedric.bail@free.fr>2019-08-21 11:18:46 -0700
commit00d58640e597c56a5f6d2dd419669bb6cb2d2b92 (patch)
treeae321c0b51bbdaa9de2b16b53ddd2725dbc1f82f
parentfcaec29be7eda381ef11db1a01d1915e420fe7f0 (diff)
efl: mark Efl.Ui.Factory.create a protected method.
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9606
-rw-r--r--src/lib/efl/interfaces/efl_interfaces_main.c1
-rw-r--r--src/lib/efl/interfaces/efl_ui_factory.eo2
-rw-r--r--src/lib/elementary/efl_ui_caching_factory.c2
-rw-r--r--src/lib/elementary/efl_ui_image_factory.c2
-rw-r--r--src/lib/elementary/efl_ui_layout_factory.c2
-rw-r--r--src/lib/elementary/efl_ui_widget_factory.c1
6 files changed, 9 insertions, 1 deletions
diff --git a/src/lib/efl/interfaces/efl_interfaces_main.c b/src/lib/efl/interfaces/efl_interfaces_main.c
index b73900e55e..f9d7b801c2 100644
--- a/src/lib/efl/interfaces/efl_interfaces_main.c
+++ b/src/lib/efl/interfaces/efl_interfaces_main.c
@@ -4,6 +4,7 @@
4 4
5#define EFL_UI_SCROLLBAR_PROTECTED 5#define EFL_UI_SCROLLBAR_PROTECTED
6#define EFL_PART_PROTECTED 6#define EFL_PART_PROTECTED
7#define EFL_UI_FACTORY_PROTECTED
7 8
8#include "eo_internal.h" 9#include "eo_internal.h"
9 10
diff --git a/src/lib/efl/interfaces/efl_ui_factory.eo b/src/lib/efl/interfaces/efl_ui_factory.eo
index b238bec679..ff0cd1076d 100644
--- a/src/lib/efl/interfaces/efl_ui_factory.eo
+++ b/src/lib/efl/interfaces/efl_ui_factory.eo
@@ -8,7 +8,7 @@ interface @beta Efl.Ui.Factory extends Efl.Ui.Property_Bind, Efl.Ui.Factory_Bind
8{ 8{
9 [[Efl UI factory interface]] 9 [[Efl UI factory interface]]
10 methods { 10 methods {
11 create { 11 create @protected {
12 [[Create a UI object from the necessary properties in the specified model. 12 [[Create a UI object from the necessary properties in the specified model.
13 13
14 14
diff --git a/src/lib/elementary/efl_ui_caching_factory.c b/src/lib/elementary/efl_ui_caching_factory.c
index 2d32572cee..33a44a013d 100644
--- a/src/lib/elementary/efl_ui_caching_factory.c
+++ b/src/lib/elementary/efl_ui_caching_factory.c
@@ -2,6 +2,8 @@
2# include <config.h> 2# include <config.h>
3#endif 3#endif
4 4
5#define EFL_UI_FACTORY_PROTECTED
6
5#include <Elementary.h> 7#include <Elementary.h>
6#include "elm_priv.h" 8#include "elm_priv.h"
7 9
diff --git a/src/lib/elementary/efl_ui_image_factory.c b/src/lib/elementary/efl_ui_image_factory.c
index 4ea556e507..4d0c139e8b 100644
--- a/src/lib/elementary/efl_ui_image_factory.c
+++ b/src/lib/elementary/efl_ui_image_factory.c
@@ -2,6 +2,8 @@
2# include "elementary_config.h" 2# include "elementary_config.h"
3#endif 3#endif
4 4
5#define EFL_UI_FACTORY_PROTECTED
6
5#include <Elementary.h> 7#include <Elementary.h>
6#include "elm_priv.h" 8#include "elm_priv.h"
7 9
diff --git a/src/lib/elementary/efl_ui_layout_factory.c b/src/lib/elementary/efl_ui_layout_factory.c
index 15246ffa71..e13971e666 100644
--- a/src/lib/elementary/efl_ui_layout_factory.c
+++ b/src/lib/elementary/efl_ui_layout_factory.c
@@ -2,6 +2,8 @@
2# include "elementary_config.h" 2# include "elementary_config.h"
3#endif 3#endif
4 4
5#define EFL_UI_FACTORY_PROTECTED
6
5#include <Elementary.h> 7#include <Elementary.h>
6#include "elm_priv.h" 8#include "elm_priv.h"
7 9
diff --git a/src/lib/elementary/efl_ui_widget_factory.c b/src/lib/elementary/efl_ui_widget_factory.c
index 3e325e11fe..0579dc4a51 100644
--- a/src/lib/elementary/efl_ui_widget_factory.c
+++ b/src/lib/elementary/efl_ui_widget_factory.c
@@ -4,6 +4,7 @@
4 4
5#define EFL_UI_WIDGET_PROTECTED 5#define EFL_UI_WIDGET_PROTECTED
6#define EFL_PART_PROTECTED 6#define EFL_PART_PROTECTED
7#define EFL_UI_FACTORY_PROTECTED
7 8
8#include <Efl_Ui.h> 9#include <Efl_Ui.h>
9#include "elm_priv.h" 10#include "elm_priv.h"