[libadwaita/ebassi/tagged-entry] Turn AdwTagWidget:tag into a construct-only property
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/ebassi/tagged-entry] Turn AdwTagWidget:tag into a construct-only property
- Date: Sun, 6 Mar 2022 19:24:39 +0000 (UTC)
commit be568ace8d2c95e8a2c87c39fff55f112237c6b8
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]