[mutter] feedback-actor: Make the other properties static strings



commit d517f3ae61e80a615ead115174a89460feff596a
Author: Jonas Ã…dahl <jadahl gmail com>
Date:   Mon May 30 23:11:37 2022 +0200

    feedback-actor: Make the other properties static strings
    
    Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2619>

 src/compositor/meta-feedback-actor.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/compositor/meta-feedback-actor.c b/src/compositor/meta-feedback-actor.c
index 4b4bed78a2..fcab89714a 100644
--- a/src/compositor/meta-feedback-actor.c
+++ b/src/compositor/meta-feedback-actor.c
@@ -135,7 +135,8 @@ meta_feedback_actor_class_init (MetaFeedbackActorClass *klass)
                               "Anchor X",
                               "The X axis of the anchor point",
                               0, G_MAXFLOAT, 0,
-                              G_PARAM_READWRITE);
+                              G_PARAM_READWRITE |
+                              G_PARAM_STATIC_STRINGS);
 
   g_object_class_install_property (object_class,
                                    PROP_ANCHOR_X,
@@ -145,7 +146,8 @@ meta_feedback_actor_class_init (MetaFeedbackActorClass *klass)
                               "Anchor Y",
                               "The Y axis of the anchor point",
                               0, G_MAXFLOAT, 0,
-                              G_PARAM_READWRITE);
+                              G_PARAM_READWRITE |
+                              G_PARAM_STATIC_STRINGS);
 
   g_object_class_install_property (object_class,
                                    PROP_ANCHOR_Y,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]