libweston: correct argument name in the handler of wl_data_source.accept

Signed-off-by: Taishi Eguchi <taishi2060@gmail.com>
dev
shierote 3 years ago committed by Daniel Stone
parent 87bded8b54
commit f2d6d21eec
  1. 2
      libweston/clipboard.c
  2. 2
      libweston/data-device.c
  3. 2
      xwayland/dnd.c
  4. 2
      xwayland/selection.c

@ -110,7 +110,7 @@ clipboard_source_data(int fd, uint32_t mask, void *data)
static void static void
clipboard_source_accept(struct weston_data_source *source, clipboard_source_accept(struct weston_data_source *source,
uint32_t time, const char *mime_type) uint32_t serial, const char *mime_type)
{ {
} }

@ -1239,7 +1239,7 @@ destroy_data_source(struct wl_resource *resource)
static void static void
client_source_accept(struct weston_data_source *source, client_source_accept(struct weston_data_source *source,
uint32_t time, const char *mime_type) uint32_t serial, const char *mime_type)
{ {
wl_data_source_send_target(source->resource, mime_type); wl_data_source_send_target(source->resource, mime_type);
} }

@ -51,7 +51,7 @@ struct dnd_data_source {
static void static void
data_source_accept(struct weston_data_source *base, data_source_accept(struct weston_data_source *base,
uint32_t time, const char *mime_type) uint32_t serial, const char *mime_type)
{ {
struct dnd_data_source *source = (struct dnd_data_source *) base; struct dnd_data_source *source = (struct dnd_data_source *) base;
xcb_client_message_event_t client_message; xcb_client_message_event_t client_message;

@ -152,7 +152,7 @@ struct x11_data_source {
static void static void
data_source_accept(struct weston_data_source *source, data_source_accept(struct weston_data_source *source,
uint32_t time, const char *mime_type) uint32_t serial, const char *mime_type)
{ {
} }

Loading…
Cancel
Save