summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2018-03-28 17:24:30 +0200
committerThomas Haller <thaller@redhat.com>2018-04-04 14:02:13 +0200
commitab8312a18e8b281a62f39ce59a077fda77943187 (patch)
tree18bde405d4e6cba78b6f4745bc25dcd506b12f3d /examples
parent56500e596483c1e9547a0b92cf995b5c46ca6e24 (diff)
downloadNetworkManager-ab8312a18e8b281a62f39ce59a077fda77943187.tar.gz
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.
Diffstat (limited to 'examples')
-rw-r--r--examples/python/gi/checkpoint.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/python/gi/checkpoint.py b/examples/python/gi/checkpoint.py
index 513e6c3a0a..de9468ea8f 100644
--- a/examples/python/gi/checkpoint.py
+++ b/examples/python/gi/checkpoint.py
@@ -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):