diff options
author | Janos Kovacs <jankovac503@gmail.com> | 2014-08-18 17:24:07 +0300 |
---|---|---|
committer | Janos Kovacs <jankovac503@gmail.com> | 2014-08-24 21:50:33 +0300 |
commit | 544494f7609e68a60fae746d2de6fa451352827d (patch) | |
tree | 1bf197ee4184811e7fa3e8fa2a80b35c6a234bfc | |
parent | 1d01f54e815e53d4f062e3298ddc41b43b92f493 (diff) | |
download | ico-uxf-weston-plugin-544494f7609e68a60fae746d2de6fa451352827d.tar.gz ico-uxf-weston-plugin-544494f7609e68a60fae746d2de6fa451352827d.tar.bz2 ico-uxf-weston-plugin-544494f7609e68a60fae746d2de6fa451352827d.zip |
use the exported function table to obtain weston_view's
Change-Id: I185dd5e6fcf22fa52a9ae2dfb79cfd1f1edde300
Signed-off-by: Janos Kovacs <jankovac503@gmail.com>
-rw-r--r-- | src/ico_window_mgr.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ico_window_mgr.c b/src/ico_window_mgr.c index f27d83a..2d19f57 100644 --- a/src/ico_window_mgr.c +++ b/src/ico_window_mgr.c @@ -477,7 +477,7 @@ ico_ivi_get_primary_view(struct uifw_win_surface *usurf) } } if (! ev) { - ev = ivi_layout_get_weston_view(usurf->ivisurf); + ev = ivi_layout_interface.get_weston_view(usurf->ivisurf); } if (! ev) { uifw_error("ico_ivi_get_primary_view: usurf=%08x(%x) surface=%08x has no view", @@ -1185,9 +1185,9 @@ ico_ivi_surfaceCreateNotification(struct ivi_layout_surface *ivisurf, void *user if (ivi_layout_surfaceAddNotification(ivisurf, ico_ivi_surfacePropertyNotification, NULL) != 0) { uifw_error("ico_ivi_surfaceCreateNotification: ivi_layout_surfaceAddNotification Error"); } - ev = ivi_layout_get_weston_view(ivisurf); + ev = ivi_layout_interface.get_weston_view(ivisurf); if (! ev) { - uifw_error("ico_ivi_surfaceCreateNotification: ivi_layout_get_weston_view Error"); + uifw_error("ico_ivi_surfaceCreateNotification: ivi_layout_interface.get_weston_view Error"); } else { es = ev->surface; @@ -1345,7 +1345,7 @@ ico_ivi_surfacePropertyNotification(struct ivi_layout_surface *ivisurf, usurf->animation.pos_y = usurf->y; usurf->animation.pos_width = usurf->width; usurf->animation.pos_height = usurf->height; - ev = ivi_layout_get_weston_view(ivisurf); + ev = ivi_layout_interface.get_weston_view(ivisurf); if (ev) { usurf->animation.alpha = ev->alpha; } |