Merge branch '3254-construct-property-deprecation' into 'main'

gobject: Don’t warn when setting deprecated construct property defaults

Closes #3254

See merge request GNOME/glib!3942
This commit is contained in:
Philip Withnall 2024-06-14 19:16:42 +00:00
commit e89e0a342c

View File

@ -2992,7 +2992,7 @@ g_object_constructor (GType type,
GParamSpec *pspec = construct_params->pspec;
construct_params++;
object_set_property (object, pspec, value, nqueue, TRUE);
object_set_property (object, pspec, value, nqueue, FALSE);
}
g_object_notify_queue_thaw (object, nqueue, FALSE);
/* the notification queue is still frozen from g_object_init(), so