[glib] Revert "GKeyFile – Add array length annotations to to_data(), get_keys() and get_groups()"
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Revert "GKeyFile – Add array length annotations to to_data(), get_keys() and get_groups()"
- Date: Fri, 21 Jul 2017 14:53:23 +0000 (UTC)
commit 039c40e6ec96020e568fb6c1e45dc48f3c4fa6de
Author: Emmanuele Bassi <ebassi gnome org>
Date: Fri Jul 21 15:33:37 2017 +0100
Revert "GKeyFile – Add array length annotations to to_data(), get_keys() and get_groups()"
This reverts commit fd329f4853f180eb92746f39fc96fd5d91394009.
The commit changed the Introspection ABI, and it requires a change in
any application using an introspection-based language binding.
glib/gkeyfile.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/glib/gkeyfile.c b/glib/gkeyfile.c
index 4ac7c08..9831fbe 100644
--- a/glib/gkeyfile.c
+++ b/glib/gkeyfile.c
@@ -1489,7 +1489,7 @@ g_key_file_flush_parse_buffer (GKeyFile *key_file,
* Note that this function never reports an error,
* so it is safe to pass %NULL as @error.
*
- * Returns: (array length=length): a newly allocated string holding
+ * Returns: a newly allocated string holding
* the contents of the #GKeyFile
*
* Since: 2.6
@@ -1559,7 +1559,7 @@ g_key_file_to_data (GKeyFile *key_file,
* be found, %NULL is returned and @error is set to
* #G_KEY_FILE_ERROR_GROUP_NOT_FOUND.
*
- * Returns: (array zero-terminated=1 length=length) (transfer full): a newly-allocated %NULL-terminated
array of strings.
+ * Returns: (array zero-terminated=1) (transfer full): a newly-allocated %NULL-terminated array of strings.
* Use g_strfreev() to free it.
*
* Since: 2.6
@@ -1654,7 +1654,7 @@ g_key_file_get_start_group (GKeyFile *key_file)
* The array of returned groups will be %NULL-terminated, so
* @length may optionally be %NULL.
*
- * Returns: (array zero-terminated=1 length=length) (transfer full): a newly-allocated %NULL-terminated
array of strings.
+ * Returns: (array zero-terminated=1) (transfer full): a newly-allocated %NULL-terminated array of strings.
* Use g_strfreev() to free it.
* Since: 2.6
**/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]