Update the usage of ecore_wayland globals. 75/37075/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Thu, 19 Mar 2015 00:48:58 +0000 (09:48 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Thu, 19 Mar 2015 00:48:58 +0000 (09:48 +0900)
The list returned by ecore_wl_globals_get() is an Eina_Inlist now instead of struct wl_list.

Change-Id: If7a6369bf4a912ce5b95eb183b0b9d9b41454ffd

src/common.cpp

index 135a69f..e273d32 100644 (file)
@@ -303,7 +303,7 @@ _wskb_ui_setup(struct WeescimKeyboard *wskb)
 static void
 _wskb_setup(struct WeescimKeyboard *wskb)
 {
-    struct wl_list *globals;
+    Eina_Inlist *globals;
     struct wl_registry *registry;
     Ecore_Wl_Global *global;
     struct wl_input_panel_surface *ips;
@@ -311,7 +311,7 @@ _wskb_setup(struct WeescimKeyboard *wskb)
     if (!(registry = ecore_wl_registry_get()))
         return;
 
-    if (!(globals = (wl_list*)ecore_wl_globals_get()))
+    if (!(globals = ecore_wl_globals_get()))
         return;
 
     EINA_INLIST_FOREACH(globals, global)