elm_win: attempt to fix legacy header
authorMike Blumenkrantz <zmike@samsung.com>
Thu, 7 Mar 2019 15:57:03 +0000 (10:57 -0500)
committerJunsuChoi <jsuya.choi@samsung.com>
Thu, 14 Mar 2019 05:46:28 +0000 (14:46 +0900)
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

src/lib/elementary/elm_win_eo.h

index 4d3daa8..51eaee9 100644 (file)
@@ -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