jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=d962705e4109860cc4dee83cebb0e432b8e69cb7

commit d962705e4109860cc4dee83cebb0e432b8e69cb7
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Wed Apr 20 21:07:38 2016 +0900

    Elm.Layout: Protect some functions
---
 src/lib/elementary/elm_actionslider.c | 1 +
 src/lib/elementary/elm_bg.c           | 1 +
 src/lib/elementary/elm_bubble.c       | 1 +
 src/lib/elementary/elm_button.c       | 1 +
 src/lib/elementary/elm_check.c        | 3 ++-
 src/lib/elementary/elm_conform.c      | 1 +
 src/lib/elementary/elm_entry.c        | 1 +
 src/lib/elementary/elm_frame.c        | 1 +
 src/lib/elementary/elm_hover.c        | 1 +
 src/lib/elementary/elm_inwin.c        | 1 +
 src/lib/elementary/elm_label.c        | 1 +
 src/lib/elementary/elm_layout.c       | 1 +
 src/lib/elementary/elm_layout.eo      | 4 ++--
 src/lib/elementary/elm_panes.c        | 1 +
 src/lib/elementary/elm_progressbar.c  | 1 +
 src/lib/elementary/elm_radio.c        | 1 +
 src/lib/elementary/elm_slider.c       | 1 +
 17 files changed, 19 insertions(+), 3 deletions(-)

diff --git a/src/lib/elementary/elm_actionslider.c 
b/src/lib/elementary/elm_actionslider.c
index 7e609e6..583b767 100644
--- a/src/lib/elementary/elm_actionslider.c
+++ b/src/lib/elementary/elm_actionslider.c
@@ -3,6 +3,7 @@
 #endif
 
 #define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+#define ELM_LAYOUT_PROTECTED
 
 #include <Elementary.h>
 #include <math.h>
diff --git a/src/lib/elementary/elm_bg.c b/src/lib/elementary/elm_bg.c
index 1c709b2..a5c7fba 100644
--- a/src/lib/elementary/elm_bg.c
+++ b/src/lib/elementary/elm_bg.c
@@ -3,6 +3,7 @@
 #endif
 
 #define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+#define ELM_LAYOUT_PROTECTED
 
 #include <Elementary.h>
 #include "elm_priv.h"
diff --git a/src/lib/elementary/elm_bubble.c b/src/lib/elementary/elm_bubble.c
index ba83049..b3e4dbd 100644
--- a/src/lib/elementary/elm_bubble.c
+++ b/src/lib/elementary/elm_bubble.c
@@ -3,6 +3,7 @@
 #endif
 
 #define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+#define ELM_LAYOUT_PROTECTED
 
 #include <Elementary.h>
 #include "elm_priv.h"
diff --git a/src/lib/elementary/elm_button.c b/src/lib/elementary/elm_button.c
index 1fb5b19..fcafecd 100644
--- a/src/lib/elementary/elm_button.c
+++ b/src/lib/elementary/elm_button.c
@@ -4,6 +4,7 @@
 
 #define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
 #define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+#define ELM_LAYOUT_PROTECTED
 
 #include <Elementary.h>
 #include "elm_priv.h"
diff --git a/src/lib/elementary/elm_check.c b/src/lib/elementary/elm_check.c
index 6a12c70..80d81ad 100644
--- a/src/lib/elementary/elm_check.c
+++ b/src/lib/elementary/elm_check.c
@@ -4,8 +4,9 @@
 
 #define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
 #define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
-
+#define ELM_LAYOUT_PROTECTED
 #define ELM_NSTATE_PROTECTED
+
 #include <Elementary.h>
 #include "elm_priv.h"
 #include "elm_widget_check.h"
diff --git a/src/lib/elementary/elm_conform.c b/src/lib/elementary/elm_conform.c
index 7d8e9e8..8911b86 100644
--- a/src/lib/elementary/elm_conform.c
+++ b/src/lib/elementary/elm_conform.c
@@ -4,6 +4,7 @@
 
 #define ELM_WIDGET_PROTECTED
 #define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+#define ELM_LAYOUT_PROTECTED
 
 #include <Elementary.h>
 #include "elm_priv.h"
diff --git a/src/lib/elementary/elm_entry.c b/src/lib/elementary/elm_entry.c
index b8c2cdc..6a31b5d 100644
--- a/src/lib/elementary/elm_entry.c
+++ b/src/lib/elementary/elm_entry.c
@@ -5,6 +5,7 @@
 #define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
 #define ELM_INTERFACE_ATSPI_TEXT_PROTECTED
 #define ELM_INTERFACE_ATSPI_EDITABLE_TEXT_PROTECTED
+#define ELM_LAYOUT_PROTECTED
 
 #include <Elementary.h>
 #include <Elementary_Cursor.h>
diff --git a/src/lib/elementary/elm_frame.c b/src/lib/elementary/elm_frame.c
index 8b72263..37c6538 100644
--- a/src/lib/elementary/elm_frame.c
+++ b/src/lib/elementary/elm_frame.c
@@ -3,6 +3,7 @@
 #endif
 
 #define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+#define ELM_LAYOUT_PROTECTED
 
 #include <Elementary.h>
 #include "elm_priv.h"
diff --git a/src/lib/elementary/elm_hover.c b/src/lib/elementary/elm_hover.c
index 2c2e51c..4cff56c 100644
--- a/src/lib/elementary/elm_hover.c
+++ b/src/lib/elementary/elm_hover.c
@@ -5,6 +5,7 @@
 #define ELM_WIDGET_PROTECTED
 #define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
 #define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
+#define ELM_LAYOUT_PROTECTED
 
 #include <Elementary.h>
 
diff --git a/src/lib/elementary/elm_inwin.c b/src/lib/elementary/elm_inwin.c
index b8eb25e..d601cef 100644
--- a/src/lib/elementary/elm_inwin.c
+++ b/src/lib/elementary/elm_inwin.c
@@ -4,6 +4,7 @@
 
 #define ELM_WIDGET_PROTECTED
 #define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+#define ELM_LAYOUT_PROTECTED
 
 #include <Elementary.h>
 
diff --git a/src/lib/elementary/elm_label.c b/src/lib/elementary/elm_label.c
index 5eead8c..d052e43 100644
--- a/src/lib/elementary/elm_label.c
+++ b/src/lib/elementary/elm_label.c
@@ -3,6 +3,7 @@
 #endif
 
 #define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+#define ELM_LAYOUT_PROTECTED
 
 #include <Elementary.h>
 
diff --git a/src/lib/elementary/elm_layout.c b/src/lib/elementary/elm_layout.c
index 7c3763c..9678269 100644
--- a/src/lib/elementary/elm_layout.c
+++ b/src/lib/elementary/elm_layout.c
@@ -3,6 +3,7 @@
 #endif
 
 #define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+#define ELM_LAYOUT_PROTECTED
 
 #include <Elementary.h>
 
diff --git a/src/lib/elementary/elm_layout.eo b/src/lib/elementary/elm_layout.eo
index a9904b8..4bc7a09 100644
--- a/src/lib/elementary/elm_layout.eo
+++ b/src/lib/elementary/elm_layout.eo
@@ -61,7 +61,7 @@ class Elm.Layout (Elm.Widget, Efl.Container, Efl.File)
             style: const(char)*; [[The style to used.]]
          }
       }
-      @property text_aliases {
+      @property text_aliases @protected {
          get {
             legacy: null;
          }
@@ -69,7 +69,7 @@ class Elm.Layout (Elm.Widget, Efl.Container, Efl.File)
             aliases: const(Elm.Layout_Part_Alias_Description)*;
          }
       }
-      @property content_aliases {
+      @property content_aliases @protected {
          get {
             legacy: null;
          }
diff --git a/src/lib/elementary/elm_panes.c b/src/lib/elementary/elm_panes.c
index 2e249e0..350be38 100644
--- a/src/lib/elementary/elm_panes.c
+++ b/src/lib/elementary/elm_panes.c
@@ -3,6 +3,7 @@
 #endif
 
 #define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+#define ELM_LAYOUT_PROTECTED
 
 #include <Elementary.h>
 
diff --git a/src/lib/elementary/elm_progressbar.c 
b/src/lib/elementary/elm_progressbar.c
index dc1a6d9..3e2256b 100644
--- a/src/lib/elementary/elm_progressbar.c
+++ b/src/lib/elementary/elm_progressbar.c
@@ -3,6 +3,7 @@
 #endif
 
 #define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+#define ELM_LAYOUT_PROTECTED
 
 #include <Elementary.h>
 
diff --git a/src/lib/elementary/elm_radio.c b/src/lib/elementary/elm_radio.c
index 39576cf..3441030 100644
--- a/src/lib/elementary/elm_radio.c
+++ b/src/lib/elementary/elm_radio.c
@@ -4,6 +4,7 @@
 
 #define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
 #define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
+#define ELM_LAYOUT_PROTECTED
 
 #include <Elementary.h>
 
diff --git a/src/lib/elementary/elm_slider.c b/src/lib/elementary/elm_slider.c
index b220ff3..2bb5d29 100644
--- a/src/lib/elementary/elm_slider.c
+++ b/src/lib/elementary/elm_slider.c
@@ -5,6 +5,7 @@
 #define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
 #define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
 #define ELM_INTERFACE_ATSPI_VALUE_PROTECTED
+#define ELM_LAYOUT_PROTECTED
 
 #include <Elementary.h>
 

-- 


Reply via email to