path: root/src/examples/elementary/
diff options
authorLauro Moura <>2019-03-11 11:34:45 -0400
committerMike Blumenkrantz <>2019-03-11 11:35:02 -0400
commitee7f843834e1aeb9d27cea8ef92c48758e56fcc9 (patch)
treedb5b236ad814d9e70715f03cac88811f5dd0feca /src/examples/elementary/
parent26f46f88c95d88e15302d1c95219d227af4ea6af (diff)
cxx: Fix examples compilation.
Summary: - Changed beta methods guards from CLASS_NAME_GUARD to EFL_BETA_API_SUPPORT to use the same scheme as C. - Removed some includes to Efl_Ui.h from the examples. These were causing C's efl_part_get to not be generated due to EFL_PART_PROTECTED not being yet defined (it is defined in Elementary.hh, included afterwards). This was leading to Efl.Part.impl.hh trying to use a non-existent method. Fixes T7716 partially (missing stringshare issue) Test Plan: make examples Reviewers: stefan_schmidt, felipealmeida, zmike Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7716 Differential Revision:
Diffstat (limited to 'src/examples/elementary/')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/elementary/ b/src/examples/elementary/
index 77ad3eb569..6f4e83be89 100644
--- a/src/examples/elementary/
+++ b/src/examples/elementary/
@@ -7,7 +7,7 @@
7 7
8#warning This example requires yet unfinished EO APIs 8#warning This example requires yet unfinished EO APIs
9 9
10#include <Efl_Ui.h> 10#define EFL_BETA_API_SUPPORT
11#include <Elementary.hh> 11#include <Elementary.hh>
12 12
13EAPI int 13EAPI int