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-properties.c | |
parent | 34f6a2b63e9053f2beabb2a5af221221d5a0f791 (diff) |
libmm-glib: Fix and add introspection annotations
Bug #705641.
Diffstat (limited to 'libmm-glib/mm-bearer-properties.c')
-rw-r--r-- | libmm-glib/mm-bearer-properties.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/libmm-glib/mm-bearer-properties.c b/libmm-glib/mm-bearer-properties.c index c4f4ba2f..c864f8e8 100644 --- a/libmm-glib/mm-bearer-properties.c +++ b/libmm-glib/mm-bearer-properties.c @@ -408,6 +408,16 @@ mm_bearer_properties_get_dictionary (MMBearerProperties *self) /*****************************************************************************/ + +/** + * mm_bearer_properties_consume_string: + * @self: a #MMBearerProperties + * @key: + * @value: + * @error: (allow-none): Return location for error or %NULL. + * + * Returns: %TRUE if the operation succeded, %FALSE if @error is set. + */ gboolean mm_bearer_properties_consume_string (MMBearerProperties *self, const gchar *key, @@ -517,6 +527,15 @@ mm_bearer_properties_new_from_string (const gchar *str, /*****************************************************************************/ +/** + * mm_bearer_properties_consume_variant: + * @properties: a #MMBearerProperties + * @key: + * @value: a #GVariant + * @error: (allow-none): Return location for error or %NULL. + * + * Returns: %TRUE if the operation succeded, %FALSE if @error is set. + */ gboolean mm_bearer_properties_consume_variant (MMBearerProperties *properties, const gchar *key, @@ -613,6 +632,14 @@ mm_bearer_properties_new_from_dictionary (GVariant *dictionary, /*****************************************************************************/ +/** + * mm_bearer_properties_dup: + * @orig: a #MMBearerProperties + * + * Creates a copy of @orig. + * + * Returns: (transfer full): a newly created #MMBearerProperties + */ MMBearerProperties * mm_bearer_properties_dup (MMBearerProperties *orig) { |