summaryrefslogtreecommitdiff
path: root/src
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
parentf9ff0cd6dd0bc79e3fe0d0b88c98b9ad4e6ef519 (diff)
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')
-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 8c933a6..095c77a 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;
21 */ 21 */
22typedef void (*Elm_Object_Item_Signal_Cb)(void *data, Elm_Object_Item *it, const char *emission, const char *source); 22typedef void (*Elm_Object_Item_Signal_Cb)(void *data, Elm_Object_Item *it, const char *emission, const char *source);
23 23
24#ifdef EFL_EO_API_SUPPORT
24#include "elm_widget_item.eo.h" 25#include "elm_widget_item.eo.h"
26#endif
27#ifndef EFL_NOLEGACY_API_SUPPORT
25#include "elm_widget_item.eo.legacy.h" 28#include "elm_widget_item.eo.legacy.h"
29#endif
26 30
27#define elm_object_item_content_set(it, content) elm_object_item_part_content_set((it), NULL, (content)) 31#define elm_object_item_content_set(it, content) elm_object_item_part_content_set((it), NULL, (content))
28 32