mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-04-23 06:20:44 +02:00
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:
parent
712729f652
commit
f55f848833
1 changed files with 2 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue