mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 15:40:41 -05:00
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
This commit is contained in:
parent
19b467aa01
commit
6414b8c45f
@ -45,7 +45,7 @@
|
|||||||
#include "clutter-build-config.h"
|
#include "clutter-build-config.h"
|
||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <cairo.h>
|
#include <cairo-gobject.h>
|
||||||
|
|
||||||
#define CLUTTER_DISABLE_DEPRECATION_WARNINGS
|
#define CLUTTER_DISABLE_DEPRECATION_WARNINGS
|
||||||
#define CLUTTER_ENABLE_EXPERIMENTAL_API
|
#define CLUTTER_ENABLE_EXPERIMENTAL_API
|
||||||
@ -2160,7 +2160,7 @@ clutter_stage_class_init (ClutterStageClass *klass)
|
|||||||
NULL, NULL, NULL,
|
NULL, NULL, NULL,
|
||||||
G_TYPE_NONE, 2,
|
G_TYPE_NONE, 2,
|
||||||
CLUTTER_TYPE_STAGE_VIEW,
|
CLUTTER_TYPE_STAGE_VIEW,
|
||||||
G_TYPE_POINTER);
|
CAIRO_GOBJECT_TYPE_REGION);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ClutterStage::presented: (skip)
|
* ClutterStage::presented: (skip)
|
||||||
|
Loading…
Reference in New Issue
Block a user