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

Signed-off-by: Taishi Eguchi <taishi2060@gmail.com>
This commit is contained in:
shierote 2022-03-29 10:22:59 +09:00 committed by Daniel Stone
parent 87bded8b54
commit f2d6d21eec
4 changed files with 4 additions and 4 deletions

View File

@ -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)
{ {
} }

View File

@ -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);
} }

View File

@ -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;

View File

@ -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)
{ {
} }