summaryrefslogtreecommitdiff
path: root/libnm
diff options
context:
space:
mode:
authorMarco Trevisan (TreviƱo) <mail@3v1n0.net>2019-03-06 20:04:50 +0100
committerThomas Haller <thaller@redhat.com>2019-03-07 10:09:23 +0100
commitb5bbf8edc25c4a13f575ced0356e4b105cc77297 (patch)
tree29d1fcf72a243f8a2f6345f2aaab4fe57b0e11fe /libnm
parent7da44cf8775f88a37914bfef00a3097a4c9446bd (diff)
downloadNetworkManager-b5bbf8edc25c4a13f575ced0356e4b105cc77297.tar.gz
nm: Fix syntax on introspection annotations
Various annotations were added using multiple colons, while only one has to be added or g-ir-introspect will consider them part of the description https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/94 (cherry picked from commit 73005fcf5b957a4cf7f8244da85ade0214db7606)
Diffstat (limited to 'libnm')
-rw-r--r--libnm/nm-client.c2
-rw-r--r--libnm/nm-device.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/libnm/nm-client.c b/libnm/nm-client.c
index d6fcb3b19d..0f8cd77303 100644
--- a/libnm/nm-client.c
+++ b/libnm/nm-client.c
@@ -1366,7 +1366,7 @@ nm_client_add_and_activate_connection2 (NMClient *client,
* @client: an #NMClient
* @result: the result passed to the #GAsyncReadyCallback
* @error: location for a #GError, or %NULL
- * @out_result: (allow-none): (transfer full): the output result
+ * @out_result: (allow-none) (transfer full): the output result
* of type "a{sv}" returned by D-Bus' AddAndActivate2 call. Currently no
* output is implemented yet.
*
diff --git a/libnm/nm-device.c b/libnm/nm-device.c
index 0834f6dfc6..65bffe7565 100644
--- a/libnm/nm-device.c
+++ b/libnm/nm-device.c
@@ -2132,7 +2132,7 @@ nm_device_reapply_finish (NMDevice *device,
* nm_device_get_applied_connection:
* @device: a #NMDevice
* @flags: the flags argument. Currently this value must always be zero.
- * @version_id: (out): (allow-none): returns the current version id of
+ * @version_id: (out) (allow-none): returns the current version id of
* the applied connection
* @cancellable: a #GCancellable, or %NULL
* @error: location for a #GError, or %NULL
@@ -2266,7 +2266,7 @@ nm_device_get_applied_connection_async (NMDevice *device,
* nm_device_get_applied_connection_finish:
* @device: a #NMDevice
* @result: the result passed to the #GAsyncReadyCallback
- * @version_id: (out): (allow-none): the current version id of the applied
+ * @version_id: (out) (allow-none): the current version id of the applied
* connection.
* @error: location for a #GError, or %NULL
*