Instead of returning FALSE, return NULL. Signed-off-by: Fabiano Fidêncio <fidencio@xxxxxxxxxx> --- libvirt-gobject/libvirt-gobject-connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libvirt-gobject/libvirt-gobject-connection.c b/libvirt-gobject/libvirt-gobject-connection.c index 15b4709..e84ca6d 100644 --- a/libvirt-gobject/libvirt-gobject-connection.c +++ b/libvirt-gobject/libvirt-gobject-connection.c @@ -2177,7 +2177,7 @@ gvir_connection_get_capabilities_finish(GVirConnection *conn, NULL); g_return_val_if_fail(g_task_get_source_tag(G_TASK(result)) == gvir_connection_get_capabilities_async, - FALSE); + NULL); return g_task_propagate_pointer(G_TASK(result), err); } -- 2.21.0 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list