stack: GtkStackPage:name is not construct-only
authorMatthias Clasen <mclasen@redhat.com>
Thu, 22 Jul 2021 20:55:15 +0000 (16:55 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 22 Jul 2021 20:55:15 +0000 (16:55 -0400)
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

index d53eb0653abbd659ecb895731b1e619f0d322b12..dffc603452f30c6325d9a0a1b3189252a1ecb71a 100644 (file)
@@ -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)