[libadwaita] view-stack: Make the name property not construct-only



commit ac90b6dde0b26ecaff17c4758ea25dc613784f4e
Author: Gleb Smirnov <glebsmirnov0708 gmail com>
Date:   Mon Jul 19 21:37:23 2021 +0300

    view-stack: Make the name property not construct-only
    
    We provide a setter for it, meaning it can be changed after construction.
    With that in mind, it cannot be construct-only.
    
    See https://gitlab.gnome.org/GNOME/gtk/-/issues/4109

 src/adw-view-stack.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/adw-view-stack.c b/src/adw-view-stack.c
index b04b0389..2a659ee9 100644
--- a/src/adw-view-stack.c
+++ b/src/adw-view-stack.c
@@ -296,7 +296,7 @@ adw_view_stack_page_class_init (AdwViewStackPageClass *class)
                          "Name",
                          "The name of the child page",
                          NULL,
-                         G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
+                         G_PARAM_READWRITE);
 
   /**
    * AdwViewStackPage:title: (attributes org.gtk.Property.get=adw_view_stack_page_get_title 
org.gtk.Property.set=adw_view_stack_page_set_title)


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