Fix compiler warning: Need to define _state_update function early as
authorChris Michael <cp.michael@samsung.com>
Fri, 1 Nov 2013 08:41:30 +0000 (08:41 +0000)
committerChris Michael <cp.michael@samsung.com>
Fri, 1 Nov 2013 08:41:30 +0000 (08:41 +0000)
it is used in various places later.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c

index 901ff4e..2bb1aab 100644 (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:
  *
  * |------------------------------------------|