From 6414b8c45f2ac22ebb50ca3c7f0c291b1187f4e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Corentin=20No=C3=ABl?= Date: Thu, 11 Jun 2020 22:53:40 +0200 Subject: [PATCH] clutter/stage: Set the right type for the paint-view argument As it is a cairo_region_t, we can proide the right GType value for it. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1313 --- clutter/clutter/clutter-stage.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clutter/clutter/clutter-stage.c b/clutter/clutter/clutter-stage.c index ff079c1ad..4af445484 100644 --- a/clutter/clutter/clutter-stage.c +++ b/clutter/clutter/clutter-stage.c @@ -45,7 +45,7 @@ #include "clutter-build-config.h" #include -#include +#include #define CLUTTER_DISABLE_DEPRECATION_WARNINGS #define CLUTTER_ENABLE_EXPERIMENTAL_API @@ -2160,7 +2160,7 @@ clutter_stage_class_init (ClutterStageClass *klass) NULL, NULL, NULL, G_TYPE_NONE, 2, CLUTTER_TYPE_STAGE_VIEW, - G_TYPE_POINTER); + CAIRO_GOBJECT_TYPE_REGION); /** * ClutterStage::presented: (skip)