jpeg pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=bc31a47fd9b8138b09c45ade703ab0f3736a54dd
commit bc31a47fd9b8138b09c45ade703ab0f3736a54dd Author: Jean-Philippe Andre <jp.an...@samsung.com> Date: Thu Feb 23 15:32:17 2017 +0900 elm: Restore ABI compatibility (elm_pan_gravity) elm_pan_gravity_{set,get} are functions that were generated as legacy APIs (in other words EAPI), but were never actually exposed to applications as they were protected behind EFL_EO_API_SUPPORT (see elm_interfaces.h). This patch restores the ABI compatibility with elementary 1.18. --- src/lib/elementary/elm_interface_scrollable.c | 8 ++++++++ src/lib/elementary/elm_interface_scrollable.h | 5 +++++ 2 files changed, 13 insertions(+) diff --git a/src/lib/elementary/elm_interface_scrollable.c b/src/lib/elementary/elm_interface_scrollable.c index e931279..d880814 100644 --- a/src/lib/elementary/elm_interface_scrollable.c +++ b/src/lib/elementary/elm_interface_scrollable.c @@ -4554,5 +4554,13 @@ _elm_interface_scrollable_class_constructor(Efl_Class *klass) evas_smart_legacy_type_register(MY_SCROLLABLE_INTERFACE_NAME_LEGACY, klass); } +/* Legacy ABI compatibility - APIs never worked and were hidden behind + * EFL_EO_API_SUPPORT (from elm_interface.h) or inside internal headers. + * Removed between 1.18 and 1.19. The symbols are kept purely for ABI + * compatibility reasons. + */ +EAPI void elm_pan_gravity_set(Elm_Pan *obj EINA_UNUSED, double x EINA_UNUSED, double y EINA_UNUSED) {} +EAPI void elm_pan_gravity_get(const Elm_Pan *obj EINA_UNUSED, double *x EINA_UNUSED, double *y EINA_UNUSED) {} + #include "elm_interface_scrollable.eo.c" #include "elm_pan.eo.c" diff --git a/src/lib/elementary/elm_interface_scrollable.h b/src/lib/elementary/elm_interface_scrollable.h index 001fb3a..624c921 100644 --- a/src/lib/elementary/elm_interface_scrollable.h +++ b/src/lib/elementary/elm_interface_scrollable.h @@ -248,6 +248,11 @@ struct _Elm_Scrollable_Smart_Interface_Data return __VA_ARGS__; \ } +#if defined(EFL_EO_API_SUPPORT) && defined(EFL_BETA_API_SUPPORT) +EAPI void elm_pan_gravity_set(Elm_Pan *, double x, double) EINA_DEPRECATED; +EAPI void elm_pan_gravity_get(const Elm_Pan *, double *, double *) EINA_DEPRECATED; +#endif + /** * @} */ --