mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 01:50:42 -05:00
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)
|
||||
{
|
||||
clutter_stage_set_user_resizable (CLUTTER_STAGE (self), FALSE);
|
||||
clutter_stage_set_cursor_visible (CLUTTER_STAGE (self), FALSE);
|
||||
}
|
||||
|
||||
ClutterActor *
|
||||
meta_wayland_stage_new (void)
|
||||
{
|
||||
return g_object_new (META_TYPE_WAYLAND_STAGE,
|
||||
"cursor-visible", FALSE,
|
||||
NULL);
|
||||
return g_object_new (META_TYPE_WAYLAND_STAGE, NULL);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user