diff options
author | Chris Michael <cp.michael@samsung.com> | 2013-11-01 08:41:30 +0000 |
---|---|---|
committer | Chris Michael <cp.michael@samsung.com> | 2013-11-01 08:41:30 +0000 |
commit | 81a847a74de12d8644e8e7bdcf70a5d0f885f820 (patch) | |
tree | 29b1a0e8136fd27b56f5e0dbac569dd22f1e6b5a /src | |
parent | d00721a3d79699637e935472d6e80f21ec055c73 (diff) |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c index 901ff4e01d..2bb1aab75d 100644 --- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c +++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c | |||
@@ -57,6 +57,12 @@ static const struct wl_callback_listener frame_listener = | |||
57 | }; | 57 | }; |
58 | 58 | ||
59 | /* local functions */ | 59 | /* local functions */ |
60 | static void | ||
61 | _ecore_evas_wl_common_state_update(Ecore_Evas *ee) | ||
62 | { | ||
63 | if (ee->func.fn_state_change) ee->func.fn_state_change(ee); | ||
64 | } | ||
65 | |||
60 | static int | 66 | static int |
61 | _ecore_evas_wl_common_render_updates_process(Ecore_Evas *ee, Eina_List *updates) | 67 | _ecore_evas_wl_common_render_updates_process(Ecore_Evas *ee, Eina_List *updates) |
62 | { | 68 | { |
@@ -663,12 +669,6 @@ _ecore_evas_wl_common_move(Ecore_Evas *ee, int x, int y) | |||
663 | } | 669 | } |
664 | } | 670 | } |
665 | 671 | ||
666 | void | ||
667 | _ecore_evas_wl_common_state_update(Ecore_Evas *ee) | ||
668 | { | ||
669 | if (ee->func.fn_state_change) ee->func.fn_state_change(ee); | ||
670 | } | ||
671 | |||
672 | /* Frame border: | 672 | /* Frame border: |
673 | * | 673 | * |
674 | * |------------------------------------------| | 674 | * |------------------------------------------| |