diff options
author | Thomas Haller <thaller@redhat.com> | 2018-03-28 17:24:30 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2018-03-29 11:24:32 +0200 |
commit | 1c1359b6647872376794c4a83615498270db84ce (patch) | |
tree | 03ac6e15ef2cc5b0f78cb6920ffe3e4f18615f2e | |
parent | 1fd6a041a5001c31179ce1e42c56a039c764075d (diff) | |
download | NetworkManager-1c1359b6647872376794c4a83615498270db84ce.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.
-rw-r--r-- | libnm-core/nm-dbus-interface.h | 4 | ||||
-rw-r--r-- | libnm/libnm.ver | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/libnm-core/nm-dbus-interface.h b/libnm-core/nm-dbus-interface.h index 392d28432f..68b9fce11b 100644 --- a/libnm-core/nm-dbus-interface.h +++ b/libnm-core/nm-dbus-interface.h @@ -857,9 +857,9 @@ typedef enum { * * The flags for CheckpointCreate call * - * Since: 1.4 + * Since: 1.4 (gi flags generated since 1.12) */ -typedef enum { /*< skip >*/ +typedef enum { /*< flags >*/ NM_CHECKPOINT_CREATE_FLAG_NONE = 0, NM_CHECKPOINT_CREATE_FLAG_DESTROY_ALL = 0x01, NM_CHECKPOINT_CREATE_FLAG_DELETE_NEW_CONNECTIONS = 0x02, diff --git a/libnm/libnm.ver b/libnm/libnm.ver index b475dcf7ee..b99d935807 100644 --- a/libnm/libnm.ver +++ b/libnm/libnm.ver @@ -1334,6 +1334,7 @@ global: libnm_1_12_0 { global: + nm_checkpoint_create_flags_get_type; nm_checkpoint_get_created; nm_checkpoint_get_devices; nm_checkpoint_get_rollback_timeout; |