diff options
author | Christian Persch <chpe@gnome.org> | 2013-08-04 15:13:17 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2013-08-14 13:30:35 +0200 |
commit | 0abba497ab8ebc0564044917df67c2237b20168b (patch) | |
tree | a7a54d86b8f29e9974d1faca35b010781ed8322f /libmm-glib/mm-bearer-ip-config.c | |
parent | 34f6a2b63e9053f2beabb2a5af221221d5a0f791 (diff) |
libmm-glib: Fix and add introspection annotations
Bug #705641.
Diffstat (limited to 'libmm-glib/mm-bearer-ip-config.c')
-rw-r--r-- | libmm-glib/mm-bearer-ip-config.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/libmm-glib/mm-bearer-ip-config.c b/libmm-glib/mm-bearer-ip-config.c index 14f99f34..e436c392 100644 --- a/libmm-glib/mm-bearer-ip-config.c +++ b/libmm-glib/mm-bearer-ip-config.c @@ -139,7 +139,7 @@ mm_bearer_ip_config_set_prefix (MMBearerIpConfig *self, * * Gets the list of IP addresses of DNS servers to be used with this bearer. * - * Returns: a NULL-terminated array of strings. Do not free the returned value, it is owned by @self. + * Returns: (transfer none) (array zero-terminated=1): a NULL-terminated array of strings. Do not free the returned value, it is owned by @self. */ const gchar ** mm_bearer_ip_config_get_dns (MMBearerIpConfig *self) @@ -331,6 +331,14 @@ mm_bearer_ip_config_new_from_dictionary (GVariant *dictionary, /*****************************************************************************/ +/** + * mm_bearer_ip_config_dup: + * @orig: a #MMBearerIpConfig + * + * Creates a copy of @orig. + * + * Returns: (transfer full): a newly created #MMBearerIpConfig + */ MMBearerIpConfig * mm_bearer_ip_config_dup (MMBearerIpConfig *orig) { |