[gtk/wip/chergert/quartz4u] move on to next vfunc
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/chergert/quartz4u] move on to next vfunc
- Date: Mon, 27 Apr 2020 23:56:07 +0000 (UTC)
commit b66e40dffa19b45f449a962455a7280a0f284cb1
Author: Christian Hergert <chergert redhat com>
Date: Mon Apr 27 16:55:23 2020 -0700
move on to next vfunc
gdk/macos/gdkmacossurface.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
---
diff --git a/gdk/macos/gdkmacossurface.c b/gdk/macos/gdkmacossurface.c
index 7c799464eb..d7bdaf8d9a 100644
--- a/gdk/macos/gdkmacossurface.c
+++ b/gdk/macos/gdkmacossurface.c
@@ -43,6 +43,15 @@ typedef struct
G_DEFINE_TYPE_WITH_PRIVATE (GdkMacosSurface, gdk_macos_surface, GDK_TYPE_SURFACE)
+static void
+gdk_macos_surface_set_input_region (GdkSurface *surface,
+ cairo_region_t *region)
+{
+ g_assert (GDK_IS_MACOS_SURFACE (surface));
+
+ /* TODO: */
+}
+
static void
gdk_macos_surface_finalize (GObject *object)
{
@@ -58,8 +67,11 @@ static void
gdk_macos_surface_class_init (GdkMacosSurfaceClass *klass)
{
GObjectClass *object_class = G_OBJECT_CLASS (klass);
+ GdkSurfaceClass *surface_class = GDK_SURFACE_CLASS (klass);
object_class->finalize = gdk_macos_surface_finalize;
+
+ surface_class->set_input_region = gdk_macos_surface_set_input_region;
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]