wayland-stage: Use the C setter for cursor-visible
This makes meta_wayland_stage_new(); synonymous with g_object_newv(...);
This commit is contained in:
parent
13a444482a
commit
d1a31952de
@ -54,12 +54,11 @@ static void
|
|||||||
meta_wayland_stage_init (MetaWaylandStage *self)
|
meta_wayland_stage_init (MetaWaylandStage *self)
|
||||||
{
|
{
|
||||||
clutter_stage_set_user_resizable (CLUTTER_STAGE (self), FALSE);
|
clutter_stage_set_user_resizable (CLUTTER_STAGE (self), FALSE);
|
||||||
|
clutter_stage_set_cursor_visible (CLUTTER_STAGE (self), FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
ClutterActor *
|
ClutterActor *
|
||||||
meta_wayland_stage_new (void)
|
meta_wayland_stage_new (void)
|
||||||
{
|
{
|
||||||
return g_object_new (META_TYPE_WAYLAND_STAGE,
|
return g_object_new (META_TYPE_WAYLAND_STAGE, NULL);
|
||||||
"cursor-visible", FALSE,
|
|
||||||
NULL);
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user