[mutter] wayland: Make MetaWaylandSurfaceRoleCursor derivable
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] wayland: Make MetaWaylandSurfaceRoleCursor derivable
- Date: Fri, 22 Jul 2016 11:57:59 +0000 (UTC)
commit 074b0d6b2aea82ae09b23dccbd0999b00f9901f3
Author: Carlos Garnacho <carlosg gnome org>
Date: Thu May 12 15:55:36 2016 +0200
wayland: Make MetaWaylandSurfaceRoleCursor derivable
src/wayland/meta-wayland-surface-role-cursor.h | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/src/wayland/meta-wayland-surface-role-cursor.h b/src/wayland/meta-wayland-surface-role-cursor.h
index 16ab8eb..b6d6d4a 100644
--- a/src/wayland/meta-wayland-surface-role-cursor.h
+++ b/src/wayland/meta-wayland-surface-role-cursor.h
@@ -25,11 +25,16 @@
#include "meta-wayland-surface.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 ())
-G_DECLARE_FINAL_TYPE (MetaWaylandSurfaceRoleCursor,
- meta_wayland_surface_role_cursor,
- META, WAYLAND_SURFACE_ROLE_CURSOR,
- MetaWaylandSurfaceRole);
+G_DECLARE_DERIVABLE_TYPE (MetaWaylandSurfaceRoleCursor,
+ meta_wayland_surface_role_cursor,
+ META, WAYLAND_SURFACE_ROLE_CURSOR,
+ MetaWaylandSurfaceRole);
MetaCursorSprite * meta_wayland_surface_role_cursor_get_sprite (MetaWaylandSurfaceRoleCursor
*cursor_role);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]