wayland/xdg-shell: Standardize xdg_positioner Wayland vfunc naming

Use the convention [interface]_[request] (..) used elsewhere in the
file.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/5
https://bugzilla.gnome.org/show_bug.cgi?id=791938
This commit is contained in:
Jonas Ådahl 2017-12-13 12:49:08 +08:00
parent cc5fe05c4d
commit 0371897e22

View File

@ -1644,14 +1644,14 @@ meta_wayland_xdg_positioner_to_placement (MetaWaylandXdgPositioner *xdg_position
} }
static void static void
meta_wayland_xdg_positioner_destroy (struct wl_client *client, xdg_positioner_destroy (struct wl_client *client,
struct wl_resource *resource) struct wl_resource *resource)
{ {
wl_resource_destroy (resource); wl_resource_destroy (resource);
} }
static void static void
meta_wayland_xdg_positioner_set_size (struct wl_client *client, xdg_positioner_set_size (struct wl_client *client,
struct wl_resource *resource, struct wl_resource *resource,
int32_t width, int32_t width,
int32_t height) int32_t height)
@ -1670,7 +1670,7 @@ meta_wayland_xdg_positioner_set_size (struct wl_client *client,
} }
static void static void
meta_wayland_xdg_positioner_set_anchor_rect (struct wl_client *client, xdg_positioner_set_anchor_rect (struct wl_client *client,
struct wl_resource *resource, struct wl_resource *resource,
int32_t x, int32_t x,
int32_t y, int32_t y,
@ -1695,7 +1695,7 @@ meta_wayland_xdg_positioner_set_anchor_rect (struct wl_client *client,
} }
static void static void
meta_wayland_xdg_positioner_set_anchor (struct wl_client *client, xdg_positioner_set_anchor (struct wl_client *client,
struct wl_resource *resource, struct wl_resource *resource,
uint32_t anchor) uint32_t anchor)
{ {
@ -1715,7 +1715,7 @@ meta_wayland_xdg_positioner_set_anchor (struct wl_client *client,
} }
static void static void
meta_wayland_xdg_positioner_set_gravity (struct wl_client *client, xdg_positioner_set_gravity (struct wl_client *client,
struct wl_resource *resource, struct wl_resource *resource,
uint32_t gravity) uint32_t gravity)
{ {
@ -1735,7 +1735,7 @@ meta_wayland_xdg_positioner_set_gravity (struct wl_client *client,
} }
static void static void
meta_wayland_xdg_positioner_set_constraint_adjustment (struct wl_client *client, xdg_positioner_set_constraint_adjustment (struct wl_client *client,
struct wl_resource *resource, struct wl_resource *resource,
uint32_t constraint_adjustment) uint32_t constraint_adjustment)
{ {
@ -1758,7 +1758,7 @@ meta_wayland_xdg_positioner_set_constraint_adjustment (struct wl_client *clien
} }
static void static void
meta_wayland_xdg_positioner_set_offset (struct wl_client *client, xdg_positioner_set_offset (struct wl_client *client,
struct wl_resource *resource, struct wl_resource *resource,
int32_t x, int32_t x,
int32_t y) int32_t y)
@ -1770,13 +1770,13 @@ meta_wayland_xdg_positioner_set_offset (struct wl_client *client,
} }
static const struct zxdg_positioner_v6_interface meta_wayland_xdg_positioner_interface = { static const struct zxdg_positioner_v6_interface meta_wayland_xdg_positioner_interface = {
meta_wayland_xdg_positioner_destroy, xdg_positioner_destroy,
meta_wayland_xdg_positioner_set_size, xdg_positioner_set_size,
meta_wayland_xdg_positioner_set_anchor_rect, xdg_positioner_set_anchor_rect,
meta_wayland_xdg_positioner_set_anchor, xdg_positioner_set_anchor,
meta_wayland_xdg_positioner_set_gravity, xdg_positioner_set_gravity,
meta_wayland_xdg_positioner_set_constraint_adjustment, xdg_positioner_set_constraint_adjustment,
meta_wayland_xdg_positioner_set_offset, xdg_positioner_set_offset,
}; };
static void static void