mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-29 18:43:18 +00:00
trivial: Notify when the FuDevice:parent is set
This allows us to perform a callback when the parent instance is set or changed.
This commit is contained in:
parent
88b1b35a72
commit
39d8baf516
@ -1034,6 +1034,7 @@ fu_device_set_parent(FuDevice *self, FuDevice *parent)
|
|||||||
}
|
}
|
||||||
|
|
||||||
fwupd_device_set_parent(FWUPD_DEVICE(self), FWUPD_DEVICE(parent));
|
fwupd_device_set_parent(FWUPD_DEVICE(self), FWUPD_DEVICE(parent));
|
||||||
|
g_object_notify(G_OBJECT(self), "parent");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user