Fix compiler warning: Need to define _state_update function early as

it is used in various places later.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2013-11-01 08:41:30 +00:00
parent d00721a3d7
commit 81a847a74d
1 changed files with 6 additions and 6 deletions

View File

@ -57,6 +57,12 @@ static const struct wl_callback_listener frame_listener =
};
/* local functions */
static void
_ecore_evas_wl_common_state_update(Ecore_Evas *ee)
{
if (ee->func.fn_state_change) ee->func.fn_state_change(ee);
}
static int
_ecore_evas_wl_common_render_updates_process(Ecore_Evas *ee, Eina_List *updates)
{
@ -663,12 +669,6 @@ _ecore_evas_wl_common_move(Ecore_Evas *ee, int x, int y)
}
}
void
_ecore_evas_wl_common_state_update(Ecore_Evas *ee)
{
if (ee->func.fn_state_change) ee->func.fn_state_change(ee);
}
/* Frame border:
*
* |------------------------------------------|