discomfitor pushed a commit to branch master.

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

commit 2810a4802a95fef0f7d2734e2b29f86c312e461b
Author: Mike Blumenkrantz <[email protected]>
Date:   Wed Mar 18 17:34:16 2015 -0400

    remove E_Comp usage from wl desktop shell
---
 src/modules/wl_desktop_shell/e_mod_main.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/modules/wl_desktop_shell/e_mod_main.c 
b/src/modules/wl_desktop_shell/e_mod_main.c
index bf9018e..62a770d 100644
--- a/src/modules/wl_desktop_shell/e_mod_main.c
+++ b/src/modules/wl_desktop_shell/e_mod_main.c
@@ -1450,17 +1450,16 @@ EAPI E_Module_Api e_modapi = { E_MODULE_API_VERSION, 
"Wl_Desktop_Shell" };
 EAPI void *
 e_modapi_init(E_Module *m)
 {
-   E_Comp *comp;
    E_Comp_Data *cdata;
 
    /* try to get the current compositor */
-   if (!(comp = e_comp)) return NULL;
+   if (!e_comp) return NULL;
 
    /* make sure it's a wayland compositor */
-   /* if (comp->comp_type != E_PIXMAP_TYPE_WL) return NULL; */
+   /* if (e_comp->comp_type != E_PIXMAP_TYPE_WL) return NULL; */
 
    /* try to get the compositor data */
-   if (!(cdata = comp->wl_comp_data)) return NULL;
+   if (!(cdata = e_comp->wl_comp_data)) return NULL;
 
    /* try to create global shell interface */
    if (!wl_global_create(cdata->wl.disp, &wl_shell_interface, 1,

-- 


Reply via email to