discomfitor pushed a commit to branch master.

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

commit 54c6d7094ec315f34dd1422e9397be4396d07d2e
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Wed Jul 8 17:12:42 2015 -0400

    remove unnecessary E_COMP_WL #defines
    
    this is only required for aliasing E_Client->comp_data as wayland 
compositor data.
    if comp_data is never dereferenced, it is not necessary to declare the 
compositor
    type
---
 src/bin/e_hints.c                 | 1 -
 src/modules/shot/e_mod_main.c     | 1 -
 src/modules/wl_drm/e_mod_main.c   | 1 -
 src/modules/xwayland/e_mod_main.c | 1 -
 4 files changed, 4 deletions(-)

diff --git a/src/bin/e_hints.c b/src/bin/e_hints.c
index 2a1eb85..8d3084a 100644
--- a/src/bin/e_hints.c
+++ b/src/bin/e_hints.c
@@ -1,4 +1,3 @@
-#define E_COMP_WL
 #include "e.h"
 
 #ifndef HAVE_WAYLAND_ONLY
diff --git a/src/modules/shot/e_mod_main.c b/src/modules/shot/e_mod_main.c
index 6ab7318..486c25c 100644
--- a/src/modules/shot/e_mod_main.c
+++ b/src/modules/shot/e_mod_main.c
@@ -8,7 +8,6 @@
  *
  * @}
  */
-#define E_COMP_WL
 #include "e.h"
 #ifdef HAVE_WAYLAND
 # include "screenshooter-client-protocol.h"
diff --git a/src/modules/wl_drm/e_mod_main.c b/src/modules/wl_drm/e_mod_main.c
index c2c8416..7314b07 100644
--- a/src/modules/wl_drm/e_mod_main.c
+++ b/src/modules/wl_drm/e_mod_main.c
@@ -1,4 +1,3 @@
-#define E_COMP_WL
 #include "e.h"
 #include <Ecore_Drm.h>
 
diff --git a/src/modules/xwayland/e_mod_main.c 
b/src/modules/xwayland/e_mod_main.c
index 5b6a42f..8add9d1 100644
--- a/src/modules/xwayland/e_mod_main.c
+++ b/src/modules/xwayland/e_mod_main.c
@@ -1,4 +1,3 @@
-#define E_COMP_WL
 #include "e.h"
 #include <sys/socket.h>
 #include <sys/un.h>

-- 


Reply via email to