mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 14:45:24 +00:00
Fix inheritance of virNetClient
When creating the virClass object for virNetClient, we specified virObject as the parent instead of virObjectLockable Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
parent
0e620e6669
commit
757e3d3af6
@ -115,7 +115,7 @@ static void virNetClientDispose(void *obj);
|
|||||||
|
|
||||||
static int virNetClientOnceInit(void)
|
static int virNetClientOnceInit(void)
|
||||||
{
|
{
|
||||||
if (!(virNetClientClass = virClassNew(virClassForObject(),
|
if (!(virNetClientClass = virClassNew(virClassForObjectLockable(),
|
||||||
"virNetClient",
|
"virNetClient",
|
||||||
sizeof(virNetClient),
|
sizeof(virNetClient),
|
||||||
virNetClientDispose)))
|
virNetClientDispose)))
|
||||||
|
Loading…
Reference in New Issue
Block a user