mirror of
https://github.com/brl/mutter.git
synced 2024-11-24 17:10:40 -05:00
clutter/actor: Mark offscreen-redirect property as flag everywhere
We currently are confusing g_param_spec_enum and g_param_spec_flags for
the offscreen-redirect property of ClutterActor. Since it's actually a
flag, make it a flag everywhere.
Fun fact: This was already partly done with
d7814cf63e
, but that commit missed the
setter.
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1292
This commit is contained in:
parent
455de5d6d3
commit
4d7c8d68bc
@ -5197,7 +5197,7 @@ clutter_actor_set_property (GObject *object,
|
||||
break;
|
||||
|
||||
case PROP_OFFSCREEN_REDIRECT:
|
||||
clutter_actor_set_offscreen_redirect (actor, g_value_get_enum (value));
|
||||
clutter_actor_set_offscreen_redirect (actor, g_value_get_flags (value));
|
||||
break;
|
||||
|
||||
case PROP_NAME:
|
||||
|
Loading…
Reference in New Issue
Block a user