From 5e54f322ab54a06b004eb9133b6c2731c8c14995 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Fri, 4 Mar 2016 12:13:18 +0800 Subject: [PATCH] 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 --- src/wayland/meta-wayland-surface.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wayland/meta-wayland-surface.c b/src/wayland/meta-wayland-surface.c index 5d1035ab4..d3580a078 100644 --- a/src/wayland/meta-wayland-surface.c +++ b/src/wayland/meta-wayland-surface.c @@ -527,8 +527,8 @@ meta_wayland_pending_state_class_init (MetaWaylandPendingStateClass *klass) } static void -subsurface_surface_commit (MetaWaylandSurfaceRole *surface_role, - MetaWaylandPendingState *pending) +subsurface_role_commit (MetaWaylandSurfaceRole *surface_role, + MetaWaylandPendingState *pending) { MetaWaylandSurface *surface = meta_wayland_surface_role_get_surface (surface_role); @@ -2055,7 +2055,7 @@ meta_wayland_surface_role_subsurface_class_init (MetaWaylandSurfaceRoleSubsurfac MetaWaylandSurfaceRoleClass *surface_role_class = META_WAYLAND_SURFACE_ROLE_CLASS (klass); - surface_role_class->commit = subsurface_surface_commit; + surface_role_class->commit = subsurface_role_commit; } cairo_region_t *