wayland: Use correct GObject parent in subsurface role object

The parent of MetaWaylandSurfaceRoleSubsurface is
MetaWaylandSurfaceRoleActorSurface thus use that as the GObject parent.

https://bugzilla.gnome.org/show_bug.cgi?id=770131
This commit is contained in:
Jonas Ådahl 2016-08-19 15:12:09 +08:00
parent dc03b3aa47
commit 4cf14c41ef

View File

@ -109,7 +109,7 @@ G_DEFINE_TYPE (MetaWaylandPendingState,
struct _MetaWaylandSurfaceRoleSubsurface struct _MetaWaylandSurfaceRoleSubsurface
{ {
MetaWaylandSurfaceRole parent; MetaWaylandSurfaceRoleActorSurface parent;
}; };
G_DEFINE_TYPE (MetaWaylandSurfaceRoleSubsurface, G_DEFINE_TYPE (MetaWaylandSurfaceRoleSubsurface,