devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=f2e7bd720466914cfa50d665132d1067794307ec

commit f2e7bd720466914cfa50d665132d1067794307ec
Author: Chris Michael <[email protected]>
Date:   Tue Jan 6 09:30:30 2015 -0500

    wl-desktop-shell: Remove use of deprecated e_comp_get function
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/modules/wl_desktop_shell/e_mod_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/wl_desktop_shell/e_mod_main.c 
b/src/modules/wl_desktop_shell/e_mod_main.c
index 309113f..84546ac 100644
--- a/src/modules/wl_desktop_shell/e_mod_main.c
+++ b/src/modules/wl_desktop_shell/e_mod_main.c
@@ -1492,7 +1492,7 @@ e_modapi_init(E_Module *m)
    E_Comp_Data *cdata;
 
    /* try to get the current compositor */
-   if (!(comp = e_comp_get(NULL))) return NULL;
+   if (!(comp = e_comp)) return NULL;
 
    /* make sure it's a wayland compositor */
    /* if (comp->comp_type != E_PIXMAP_TYPE_WL) return NULL; */

-- 


Reply via email to