[gobject-introspection] Update glib annotations from glib 2.45.1
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] Update glib annotations from glib 2.45.1
- Date: Fri, 1 May 2015 12:59:28 +0000 (UTC)
commit 3661f9336f9a7ad67a26c2d4bcd37deac5c711ce
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Fri May 1 14:58:58 2015 +0200
Update glib annotations from glib 2.45.1
gir/gio-2.0.c | 2 +-
gir/glib-2.0.c | 5 +++--
gir/gobject-2.0.c | 4 +++-
3 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/gir/gio-2.0.c b/gir/gio-2.0.c
index a2ebe72..ec34e62 100644
--- a/gir/gio-2.0.c
+++ b/gir/gio-2.0.c
@@ -33714,7 +33714,7 @@
* This can be useful if you want to do something unusual on it
* not supported by the #GSocketConnection APIs.
*
- * Returns: (transfer none): a #GSocketAddress or %NULL on error.
+ * Returns: (transfer none): a #GSocket or %NULL on error.
* Since: 2.22
*/
diff --git a/gir/glib-2.0.c b/gir/glib-2.0.c
index 406e140..785ae14 100644
--- a/gir/glib-2.0.c
+++ b/gir/glib-2.0.c
@@ -34778,7 +34778,8 @@
* with empty arrays).
*
* In the event that the parsing is successful, the resulting #GVariant
- * is returned.
+ * is returned. It is never floating, and must be freed with
+ * g_variant_unref().
*
* In case of any error, %NULL will be returned. If @error is non-%NULL
* then it will be set to reflect the error that occurred.
@@ -34786,7 +34787,7 @@
* Officially, the language understood by the parser is "any string
* produced by g_variant_print()".
*
- * Returns: a reference to a #GVariant, or %NULL
+ * Returns: a non-floating reference to a #GVariant, or %NULL
*/
diff --git a/gir/gobject-2.0.c b/gir/gobject-2.0.c
index 440d0c2..afbc2d2 100644
--- a/gir/gobject-2.0.c
+++ b/gir/gobject-2.0.c
@@ -4355,7 +4355,9 @@
* is being emitted on. The rest are any arguments to be passed to the signal.
* @signal_id: the signal id
* @detail: the detail
- * @return_value: Location to store the return value of the signal emission.
+ * @return_value: (inout) (optional): Location to
+ * store the return value of the signal emission. This must be provided if the
+ * specified signal returns a value, but may be ignored otherwise.
*
* Emits a signal.
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]