wayland: Make MetaWaylandSurfaceRoleCursor derivable

This commit is contained in:
Carlos Garnacho 2016-05-12 15:55:36 +02:00
parent 8e8cdf1873
commit 074b0d6b2a

View File

@ -25,8 +25,13 @@
#include "meta-wayland-surface.h" #include "meta-wayland-surface.h"
#include "backends/meta-cursor-renderer.h" #include "backends/meta-cursor-renderer.h"
struct _MetaWaylandSurfaceRoleCursorClass
{
MetaWaylandSurfaceRoleClass parent_class;
};
#define META_TYPE_WAYLAND_SURFACE_ROLE_CURSOR (meta_wayland_surface_role_cursor_get_type ()) #define META_TYPE_WAYLAND_SURFACE_ROLE_CURSOR (meta_wayland_surface_role_cursor_get_type ())
G_DECLARE_FINAL_TYPE (MetaWaylandSurfaceRoleCursor, G_DECLARE_DERIVABLE_TYPE (MetaWaylandSurfaceRoleCursor,
meta_wayland_surface_role_cursor, meta_wayland_surface_role_cursor,
META, WAYLAND_SURFACE_ROLE_CURSOR, META, WAYLAND_SURFACE_ROLE_CURSOR,
MetaWaylandSurfaceRole); MetaWaylandSurfaceRole);