[libadwaita/ebassi/tagged-entry: 18/20] Turn AdwTagWidget:tag into a construct-only property




commit 1babaf5304f6ce02a401fa7173c370757718adf8
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Sun Mar 6 18:41:15 2022 +0000

    Turn AdwTagWidget:tag into a construct-only property
    
    The TagWidget view is the representation of a Tag, and its life time
    is bound to that tag.

 src/adw-tag-widget.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/adw-tag-widget.c b/src/adw-tag-widget.c
index e5451a02..9b44e94b 100644
--- a/src/adw-tag-widget.c
+++ b/src/adw-tag-widget.c
@@ -189,7 +189,7 @@ adw_tag_widget_class_init (AdwTagWidgetClass *klass)
   obj_props[PROP_TAG] =
     g_param_spec_object ("tag", NULL, NULL, ADW_TYPE_TAG,
                          G_PARAM_READWRITE |
-                         G_PARAM_CONSTRUCT |
+                         G_PARAM_CONSTRUCT_ONLY |
                          G_PARAM_STATIC_STRINGS |
                          G_PARAM_EXPLICIT_NOTIFY);
 


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