aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2016-07-28 16:52:25 +0200
committerStefan Schmidt <stefan@osg.samsung.com>2016-07-29 12:04:13 +0200
commit61edc877879d9d4684314f71dc4bd8199dc4ff96 (patch)
tree924fadb946ea5d772f1a0f4b55aab1ffe77b11cd /src/lib/elementary
parentelm: sys_notify: add guards to inlcude eo and legacy header only when allowed (diff)
downloadefl-61edc877879d9d4684314f71dc4bd8199dc4ff96.tar.gz
elm: object_item: add guards to include eo and legacy header only when allowed
Make sure the eo and legacy headers are only included when the matching defines are enabled.
Diffstat (limited to 'src/lib/elementary')
-rw-r--r--src/lib/elementary/elm_object_item.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_object_item.h b/src/lib/elementary/elm_object_item.h
index 8c933a66ca..095c77af32 100644
--- a/src/lib/elementary/elm_object_item.h
+++ b/src/lib/elementary/elm_object_item.h
@@ -21,8 +21,12 @@ typedef Eo Elm_Object_Item;
*/
typedef void (*Elm_Object_Item_Signal_Cb)(void *data, Elm_Object_Item *it, const char *emission, const char *source);
+#ifdef EFL_EO_API_SUPPORT
#include "elm_widget_item.eo.h"
+#endif
+#ifndef EFL_NOLEGACY_API_SUPPORT
#include "elm_widget_item.eo.legacy.h"
+#endif
#define elm_object_item_content_set(it, content) elm_object_item_part_content_set((it), NULL, (content))