mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 01:50:42 -05:00
wayland: Rename subsurface commit role function
This is to make it obvious it is an implementation of a role class vfunc. https://bugzilla.gnome.org/show_bug.cgi?id=763431
This commit is contained in:
parent
23b1b5f57e
commit
5e54f322ab
@ -527,8 +527,8 @@ meta_wayland_pending_state_class_init (MetaWaylandPendingStateClass *klass)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
subsurface_surface_commit (MetaWaylandSurfaceRole *surface_role,
|
subsurface_role_commit (MetaWaylandSurfaceRole *surface_role,
|
||||||
MetaWaylandPendingState *pending)
|
MetaWaylandPendingState *pending)
|
||||||
{
|
{
|
||||||
MetaWaylandSurface *surface =
|
MetaWaylandSurface *surface =
|
||||||
meta_wayland_surface_role_get_surface (surface_role);
|
meta_wayland_surface_role_get_surface (surface_role);
|
||||||
@ -2055,7 +2055,7 @@ meta_wayland_surface_role_subsurface_class_init (MetaWaylandSurfaceRoleSubsurfac
|
|||||||
MetaWaylandSurfaceRoleClass *surface_role_class =
|
MetaWaylandSurfaceRoleClass *surface_role_class =
|
||||||
META_WAYLAND_SURFACE_ROLE_CLASS (klass);
|
META_WAYLAND_SURFACE_ROLE_CLASS (klass);
|
||||||
|
|
||||||
surface_role_class->commit = subsurface_surface_commit;
|
surface_role_class->commit = subsurface_role_commit;
|
||||||
}
|
}
|
||||||
|
|
||||||
cairo_region_t *
|
cairo_region_t *
|
||||||
|
Loading…
Reference in New Issue
Block a user