From f2e7bd720466914cfa50d665132d1067794307ec Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Tue, 6 Jan 2015 09:30:30 -0500 Subject: [PATCH] wl-desktop-shell: Remove use of deprecated e_comp_get function Signed-off-by: Chris Michael --- 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 309113f2f..84546ac8c 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; */