diff options
Diffstat (limited to 'src/wayland-client.h')
-rw-r--r-- | src/wayland-client.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/wayland-client.h b/src/wayland-client.h index 691912a..efeee4a 100644 --- a/src/wayland-client.h +++ b/src/wayland-client.h @@ -35,9 +35,10 @@ struct wl_display; void wl_proxy_marshal(struct wl_proxy *p, uint32_t opcode, ...); struct wl_proxy *wl_proxy_create(struct wl_proxy *factory, const struct wl_interface *interface); -struct wl_proxy *wl_proxy_create_for_id(struct wl_display *display, - const struct wl_interface *interface, - uint32_t id); +struct wl_proxy *wl_proxy_create_for_id(struct wl_proxy *factory, + uint32_t id, + const struct wl_interface *interface); + void wl_proxy_destroy(struct wl_proxy *proxy); int wl_proxy_add_listener(struct wl_proxy *proxy, void (**implementation)(void), void *data); |