devilhorns pushed a commit to branch master.
commit 9e64360c2c4bff1a7c4311f35da89bea1e5325f1
Author: Chris Michael <[email protected]>
Date: Tue Jul 23 14:29:16 2013 +0100
Update screenshot protocol files for addition of done event
Signed-off-by: Chris Michael <[email protected]>
---
src/modules/wl_screenshot/e_screenshooter_client_protocol.c | 4 ++--
src/modules/wl_screenshot/e_screenshooter_client_protocol.h | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/modules/wl_screenshot/e_screenshooter_client_protocol.c
b/src/modules/wl_screenshot/e_screenshooter_client_protocol.c
index ef0a9d6..bc1a0c4 100644
--- a/src/modules/wl_screenshot/e_screenshooter_client_protocol.c
+++ b/src/modules/wl_screenshot/e_screenshooter_client_protocol.c
@@ -21,7 +21,7 @@ static const struct wl_message screenshooter_events[] =
WL_EXPORT const struct wl_interface screenshooter_interface = {
"screenshooter", 1,
- ARRAY_LENGTH(screenshooter_requests), screenshooter_requests,
- ARRAY_LENGTH(screenshooter_events), screenshooter_events,
+ 1, screenshooter_requests,
+ 1, screenshooter_events,
};
diff --git a/src/modules/wl_screenshot/e_screenshooter_client_protocol.h
b/src/modules/wl_screenshot/e_screenshooter_client_protocol.h
index b92c682..34b747a 100644
--- a/src/modules/wl_screenshot/e_screenshooter_client_protocol.h
+++ b/src/modules/wl_screenshot/e_screenshooter_client_protocol.h
@@ -32,25 +32,25 @@ screenshooter_add_listener(struct screenshooter
*screenshooter,
#define SCREENSHOOTER_SHOOT 0
static inline void
-screenshooter_set_user_data(E_Screenshooter *screenshooter, void *user_data)
+screenshooter_set_user_data(struct screenshooter *screenshooter, void
*user_data)
{
wl_proxy_set_user_data((struct wl_proxy *) screenshooter, user_data);
}
static inline void *
-screenshooter_get_user_data(E_Screenshooter *screenshooter)
+screenshooter_get_user_data(struct screenshooter *screenshooter)
{
return wl_proxy_get_user_data((struct wl_proxy *) screenshooter);
}
static inline void
-screenshooter_destroy(E_Screenshooter *screenshooter)
+screenshooter_destroy(struct screenshooter *screenshooter)
{
wl_proxy_destroy((struct wl_proxy *) screenshooter);
}
static inline void
-screenshooter_shoot(E_Screenshooter *screenshooter, struct wl_output *output,
struct wl_buffer *buffer)
+screenshooter_shoot(struct screenshooter *screenshooter, struct wl_output
*output, struct wl_buffer *buffer)
{
wl_proxy_marshal((struct wl_proxy *) screenshooter,
SCREENSHOOTER_SHOOT, output, buffer);
--
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk