Update usage of ecore_wayland globals.
authorRafael Antognolli <rafael.antognolli@intel.com>
Mon, 4 Nov 2013 19:44:15 +0000 (17:44 -0200)
committerEduardo Lima (Etrunko) <eduardo.lima@intel.com>
Mon, 4 Nov 2013 20:14:19 +0000 (18:14 -0200)
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>
src/wkb-main.c

index c142bd144fb3cb2413e493981630705c89a20a54..e27aec236e26fd9f2d36581b490b41ddba8b285c 100644 (file)
@@ -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);