wayland: Fix naming scheme for request handlers

Our implementations should take the name of the request.
This commit is contained in:
Jasper St. Pierre 2014-08-04 10:26:55 -04:00
parent 75b6e917ad
commit dadbd793be

View File

@ -197,7 +197,7 @@ meta_wayland_compositor_repick (MetaWaylandCompositor *compositor)
}
static void
meta_wayland_compositor_create_surface (struct wl_client *client,
wl_compositor_create_surface (struct wl_client *client,
struct wl_resource *resource,
guint32 id)
{
@ -207,14 +207,14 @@ meta_wayland_compositor_create_surface (struct wl_client *client,
}
static void
meta_wayland_region_destroy (struct wl_client *client,
wl_region_destroy (struct wl_client *client,
struct wl_resource *resource)
{
wl_resource_destroy (resource);
}
static void
meta_wayland_region_add (struct wl_client *client,
wl_region_add (struct wl_client *client,
struct wl_resource *resource,
gint32 x,
gint32 y,
@ -228,7 +228,7 @@ meta_wayland_region_add (struct wl_client *client,
}
static void
meta_wayland_region_subtract (struct wl_client *client,
wl_region_subtract (struct wl_client *client,
struct wl_resource *resource,
gint32 x,
gint32 y,
@ -242,9 +242,9 @@ meta_wayland_region_subtract (struct wl_client *client,
}
const struct wl_region_interface meta_wayland_region_interface = {
meta_wayland_region_destroy,
meta_wayland_region_add,
meta_wayland_region_subtract
wl_region_destroy,
wl_region_add,
wl_region_subtract
};
static void
@ -257,7 +257,7 @@ meta_wayland_region_resource_destroy_cb (struct wl_resource *resource)
}
static void
meta_wayland_compositor_create_region (struct wl_client *client,
wl_compositor_create_region (struct wl_client *client,
struct wl_resource *compositor_resource,
uint32_t id)
{
@ -270,8 +270,8 @@ meta_wayland_compositor_create_region (struct wl_client *client,
}
const static struct wl_compositor_interface meta_wayland_compositor_interface = {
meta_wayland_compositor_create_surface,
meta_wayland_compositor_create_region
wl_compositor_create_surface,
wl_compositor_create_region
};
void