server: Make error posting functions take a resource instead of a client

This commit is contained in:
Kristian Høgsberg 2011-09-01 09:53:33 -04:00
parent c640571c00
commit 25fddf65a8
3 changed files with 39 additions and 40 deletions

View file

@ -98,9 +98,6 @@ void wl_display_remove_global(struct wl_display *display,
struct wl_client *wl_client_create(struct wl_display *display, int fd);
void wl_client_destroy(struct wl_client *client);
void wl_client_post_error(struct wl_client *client, struct wl_object *object,
uint32_t code, const char *msg, ...);
void wl_client_post_no_memory(struct wl_client *client);
void wl_client_flush(struct wl_client *client);
struct wl_resource *
@ -221,6 +218,7 @@ void wl_resource_post_event(struct wl_resource *resource,
uint32_t opcode, ...);
void wl_resource_post_error(struct wl_resource *resource,
uint32_t code, const char *msg, ...);
void wl_resource_post_no_memory(struct wl_resource *resource);
int
wl_display_set_compositor(struct wl_display *display,