checkpoint: generate GIR information for NMCheckpointCreateFlags

Note that this changes API for checkpoint_create_async() in Python
via GIR. Previously it would require an integer argument, now a flags
argument. But this API is still unstable, it will be introduced with
1.12.
This commit is contained in:
Thomas Haller
2018-03-28 17:24:30 +02:00
parent 56500e5964
commit ab8312a18e
3 changed files with 4 additions and 2 deletions

View File

@@ -48,6 +48,7 @@ def do_create(client):
sys.exit("Unknown device %s" % arg)
devices.append(d)
# FIXME: flags are not a plain integer.
client.checkpoint_create_async(devices, timeout, 0, None, create_cb, None)
def destroy_cb(client, result, data):