libnm: chain up "constructed() method in NMAuthSubject

It's not strictly necessary, because GObject.constructed() is
intentionally a NOP, to optionally allow chaining the parent method.

However, for consistency, this is what we commonly do.
This commit is contained in:
Thomas Haller 2023-08-22 14:06:32 +02:00
parent 712729f652
commit f55f848833
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

@ -351,6 +351,8 @@ constructed(GObject *object)
NMAuthSubject *self = NM_AUTH_SUBJECT(object);
NMAuthSubjectPrivate *priv = NM_AUTH_SUBJECT_GET_PRIVATE(self);
G_OBJECT_CLASS(nm_auth_subject_parent_class)->constructed(object);
/* validate that the created instance. */
switch (priv->subject_type) {