[mutter/wip/tintou/clutter-stage-paint-view-region] clutter/stage: Set the right type for the paint-view argument



commit 5b58933057190f32e6b84b6d0a5ae3d71b276e41
Author: Corentin Noël <corentin elementary io>
Date:   Thu Jun 11 22:53:40 2020 +0200

    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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/clutter/clutter/clutter-stage.c b/clutter/clutter/clutter-stage.c
index ff079c1adc..57af0cc966 100644
--- a/clutter/clutter/clutter-stage.c
+++ b/clutter/clutter/clutter-stage.c
@@ -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)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]