From: Jean-Philippe Andre Date: Tue, 7 Jun 2016 04:06:03 +0000 (+0900) Subject: Efl.Ui.Flip: Fix compilation outside EFL X-Git-Tag: upstream/1.20.0~5900 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b7616e52dbc99b81fd66978c9b7b2c84195603c8;p=platform%2Fupstream%2Fefl.git Efl.Ui.Flip: Fix compilation outside EFL After a previous patch, compilation of apps would fail as the include order was invalid. Efl_Ui_Flip_Mode was defined after the typedef using it unless EO APIs were enabled. --- diff --git a/src/lib/elementary/efl_ui_flip_legacy.h b/src/lib/elementary/efl_ui_flip_legacy.h index 4e76e49..9ae8616 100644 --- a/src/lib/elementary/efl_ui_flip_legacy.h +++ b/src/lib/elementary/efl_ui_flip_legacy.h @@ -1,3 +1,4 @@ +#include "efl_ui_flip.eo.legacy.h" typedef Efl_Ui_Flip_Interaction Elm_Flip_Interaction; @@ -120,5 +121,3 @@ EAPI Evas_Object *elm_flip_add(Evas_Object *parent); * @ingroup Elm_Flip */ EAPI void elm_flip_perspective_set(Evas_Object *obj, Evas_Coord foc, Evas_Coord x, Evas_Coord y); - -#include "efl_ui_flip.eo.legacy.h"