projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b932b0
)
fix shot module compile without x11 support
author
Mike Blumenkrantz
<zmike@osg.samsung.com>
Tue, 22 Sep 2015 17:54:28 +0000
(13:54 -0400)
committer
Mike Blumenkrantz
<zmike@osg.samsung.com>
Tue, 22 Sep 2015 17:54:28 +0000
(13:54 -0400)
src/modules/shot/e_mod_main.c
patch
|
blob
|
history
diff --git
a/src/modules/shot/e_mod_main.c
b/src/modules/shot/e_mod_main.c
index
5189a73
..
c7b9075
100644
(file)
--- a/
src/modules/shot/e_mod_main.c
+++ b/
src/modules/shot/e_mod_main.c
@@
-1020,6
+1020,11
@@
_wl_shot_now(E_Zone *zone, E_Client *ec, const char *params)
static void
_x_shot_now(E_Zone *zone, E_Client *ec, const char *params)
{
+#ifdef HAVE_WAYLAND_ONLY
+ (void)zone;
+ (void)ec;
+ (void)params;
+#else
Ecore_X_Image *img;
unsigned char *src;
unsigned int *dst;
@@
-1117,6
+1122,7
@@
_x_shot_now(E_Zone *zone, E_Client *ec, const char *params)
free(dst);
ecore_x_image_free(img);
+#endif
}
static Eina_Bool