[mutter/wip/tintou/clutter-stage-paint-view-region] clutter/stage: Set the right type for the paint-view argument
- From: Corentin Noël <corentinnoel src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [mutter/wip/tintou/clutter-stage-paint-view-region] clutter/stage: Set the right type for the paint-view argument
 
- Date: Thu, 11 Jun 2020 20:55:27 +0000 (UTC)
 
commit 6a66f710854ba4f2f0c7635f2d8103a7a7c2a872
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.
 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]