[gtk/stack-page-name] stack: GtkStackPage:name is not construct-only




commit 4c41ef8de39fa1c7c30901e19fcaa2b6397a4c43
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Jul 22 16:55:15 2021 -0400

    stack: GtkStackPage:name is not construct-only
    
    We have a setter for this property, so we clearly
    weren't serious when we marked it as construct-only.
    
    Fixes: #4109

 gtk/gtkstack.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkstack.c b/gtk/gtkstack.c
index d53eb0653a..dffc603452 100644
--- a/gtk/gtkstack.c
+++ b/gtk/gtkstack.c
@@ -428,7 +428,7 @@ gtk_stack_page_class_init (GtkStackPageClass *class)
                          P_("Name"),
                          P_("The name of the child page"),
                          NULL,
-                         GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
+                         GTK_PARAM_READWRITE);
 
   /**
    * GtkStackPage:title: (attributes org.gtk.Property.get=gtk_stack_page_get_title 
org.gtk.Property.set=gtk_stack_page_set_title)


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