summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-03-07 10:57:03 -0500
committerCedric BAIL <cedric.bail@free.fr>2019-03-07 14:17:14 -0800
commit69daf53a94c6db7200ba3b346242792a984f04ef (patch)
tree2848cc2781001fc22efb7ee0c65f11b536063daf
parentb93361d921d1eb112df809e1a69b1c9974e9d2d1 (diff)
downloadefl-69daf53a94c6db7200ba3b346242792a984f04ef.tar.gz
elm_win: attempt to fix legacy header
I don't know what's going on here and I don't want to know. Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8231
-rw-r--r--src/lib/elementary/elm_win_eo.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/elementary/elm_win_eo.h b/src/lib/elementary/elm_win_eo.h
index 4d3daa8884..51eaee9010 100644
--- a/src/lib/elementary/elm_win_eo.h
+++ b/src/lib/elementary/elm_win_eo.h
@@ -1,3 +1,6 @@
+#ifndef ELM_WIN_EO_H
+# define ELM_WIN_EO_H
+
/**
* @ingroup Elm_Win
*
@@ -8,7 +11,7 @@
EAPI void elm_win_autodel_set(Evas_Object *obj, Eina_Bool autodel);
EAPI Eina_Bool elm_win_autodel_get(const Evas_Object *obj);
-
+#if defined (EFL_EO_API_SUPPORT) && defined (EFL_BETA_API_SUPPORT)
/**
* @brief Set the window's autodel state.
*
@@ -57,3 +60,6 @@ efl_ui_win_autodel_get(const Efl_Ui_Win *obj)
/**
* @}
*/
+#endif
+
+#endif