diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2015-05-01 14:58:58 +0200 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2015-05-01 14:58:58 +0200 |
commit | 3661f9336f9a7ad67a26c2d4bcd37deac5c711ce (patch) | |
tree | 959e3b3174d11241f0198f3c6c675b8983c93b5b | |
parent | d5f9b14cf2c3d25803d7101516cef47a9e0a51dc (diff) | |
download | gobject-introspection-3661f9336f9a7ad67a26c2d4bcd37deac5c711ce.tar.gz |
Update glib annotations from glib 2.45.1
-rw-r--r-- | gir/gio-2.0.c | 2 | ||||
-rw-r--r-- | gir/glib-2.0.c | 5 | ||||
-rw-r--r-- | 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 a2ebe724..ec34e623 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 406e1406..785ae14e 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 440d0c2d..afbc2d2f 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. * |