From 4d7c8d68bc6b435aa2b4bc6a5e32f439943c1695 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= Date: Sat, 6 Jun 2020 11:19:01 +0200 Subject: [PATCH] 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 d7814cf63eab1cf95625b06face9f914133d7eaa, but that commit missed the setter. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1292 --- clutter/clutter/clutter-actor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clutter/clutter/clutter-actor.c b/clutter/clutter/clutter-actor.c index da0f68ba5..a4509cf1f 100644 --- a/clutter/clutter/clutter-actor.c +++ b/clutter/clutter/clutter-actor.c @@ -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: