diff options
author | Rafael Antognolli <rafael.antognolli@intel.com> | 2013-11-04 17:44:15 -0200 |
---|---|---|
committer | Eduardo Lima (Etrunko) <eduardo.lima@intel.com> | 2013-11-04 18:14:19 -0200 |
commit | 01d3bdd755ffe898183e0da24b701776f800d1a6 (patch) | |
tree | dfc7f04f56bbeb1c5e04aabdef0d44e6199c064b | |
parent | c29fe03cd330a6e434973943c2d0f10e119e4798 (diff) | |
download | weekeyboard-01d3bdd755ffe898183e0da24b701776f800d1a6.tar.gz weekeyboard-01d3bdd755ffe898183e0da24b701776f800d1a6.tar.bz2 weekeyboard-01d3bdd755ffe898183e0da24b701776f800d1a6.zip |
Update usage of ecore_wayland globals.
The list returned by ecore_wl_globals_get() is an Eina_Inlist now,
instead of struct wl_list.
Signed-off-by: Rafael Antognolli <rafael.antognolli@intel.com>
-rw-r--r-- | src/wkb-main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wkb-main.c b/src/wkb-main.c index c142bd1..e27aec2 100644 --- a/src/wkb-main.c +++ b/src/wkb-main.c @@ -462,7 +462,7 @@ end: static void _wkb_setup(struct weekeyboard *wkb) { - struct wl_list *globals; + Eina_Inlist *globals; struct wl_registry *registry; Ecore_Wl_Global *global; @@ -470,7 +470,7 @@ _wkb_setup(struct weekeyboard *wkb) globals = ecore_wl_globals_get(); registry = ecore_wl_registry_get(); - wl_list_for_each(global, globals, link) + EINA_INLIST_FOREACH(globals, global) { if (strcmp(global->interface, "wl_input_panel") == 0) wkb->ip = wl_registry_bind(registry, global->id, &wl_input_panel_interface, 1); |