discomfitor pushed a commit to branch enlightenment-0.21.

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

commit d5251d3b5a53b56d699c44e5563f0862af00e225
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Fri Aug 4 16:23:39 2017 -0400

    don't arbitrarily bind version=1 for wl extension resources
---
 src/bin/e_comp_wl_extensions.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/e_comp_wl_extensions.c b/src/bin/e_comp_wl_extensions.c
index 19de571a0..258b85817 100644
--- a/src/bin/e_comp_wl_extensions.c
+++ b/src/bin/e_comp_wl_extensions.c
@@ -227,11 +227,11 @@ static const struct www_interface _e_www_interface =
 
 #define GLOBAL_BIND_CB(NAME, IFACE, ...) \
 static void \
-_e_comp_wl_##NAME##_cb_bind(struct wl_client *client, void *data EINA_UNUSED, 
uint32_t version EINA_UNUSED, uint32_t id) \
+_e_comp_wl_##NAME##_cb_bind(struct wl_client *client, void *data EINA_UNUSED, 
uint32_t version, uint32_t id) \
 { \
    struct wl_resource *res; \
 \
-   if (!(res = wl_resource_create(client, &(IFACE), 1, id))) \
+   if (!(res = wl_resource_create(client, &(IFACE), version, id))) \
      { \
         ERR("Could not create %s interface", #NAME);\
         wl_client_post_no_memory(client);\

-- 


Reply via email to