[glib] gio/gobject: Various introspection fixes



commit e3189527dc1ae5da614c5f4693d1240395e093b8
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Wed Feb 3 18:12:04 2016 +0100

    gio/gobject: Various introspection fixes

 gio/gdbusaddress.c    |    4 ++--
 gobject/gclosure.c    |    2 +-
 gobject/gsignal.c     |    2 +-
 gobject/gvaluetypes.c |    2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gio/gdbusaddress.c b/gio/gdbusaddress.c
index 4ef7b3c..3901b95 100644
--- a/gio/gdbusaddress.c
+++ b/gio/gdbusaddress.c
@@ -873,7 +873,7 @@ g_dbus_address_get_stream (const gchar         *address,
 /**
  * g_dbus_address_get_stream_finish:
  * @res: A #GAsyncResult obtained from the GAsyncReadyCallback passed to g_dbus_address_get_stream().
- * @out_guid: %NULL or return location to store the GUID extracted from @address, if any.
+ * @out_guid: (optional) (out): %NULL or return location to store the GUID extracted from @address, if any.
  * @error: Return location for error or %NULL.
  *
  * Finishes an operation started with g_dbus_address_get_stream().
@@ -910,7 +910,7 @@ g_dbus_address_get_stream_finish (GAsyncResult        *res,
 /**
  * g_dbus_address_get_stream_sync:
  * @address: A valid D-Bus address.
- * @out_guid: %NULL or return location to store the GUID extracted from @address, if any.
+ * @out_guid: (optional) (out): %NULL or return location to store the GUID extracted from @address, if any.
  * @cancellable: (allow-none): A #GCancellable or %NULL.
  * @error: Return location for error or %NULL.
  *
diff --git a/gobject/gclosure.c b/gobject/gclosure.c
index 8daf5f9..8152424 100644
--- a/gobject/gclosure.c
+++ b/gobject/gclosure.c
@@ -755,7 +755,7 @@ g_closure_remove_finalize_notifier (GClosure      *closure,
 /**
  * g_closure_invoke:
  * @closure: a #GClosure
- * @return_value: (allow-none): a #GValue to store the return
+ * @return_value: (optional) (out): a #GValue to store the return
  *                value. May be %NULL if the callback of @closure
  *                doesn't return a value.
  * @n_param_values: the length of the @param_values array
diff --git a/gobject/gsignal.c b/gobject/gsignal.c
index 9229f44..03fe09f 100644
--- a/gobject/gsignal.c
+++ b/gobject/gsignal.c
@@ -1265,7 +1265,7 @@ g_signal_lookup (const gchar *name,
  * created. Further information about the signals can be acquired through
  * g_signal_query().
  *
- * Returns: (array length=n_ids): Newly allocated array of signal IDs.
+ * Returns: (array length=n_ids) (transfer full): Newly allocated array of signal IDs.
  */
 guint*
 g_signal_list_ids (GType  itype,
diff --git a/gobject/gvaluetypes.c b/gobject/gvaluetypes.c
index 4b234a3..fd452fa 100644
--- a/gobject/gvaluetypes.c
+++ b/gobject/gvaluetypes.c
@@ -1239,7 +1239,7 @@ g_value_set_variant (GValue   *value,
 /**
  * g_value_take_variant:
  * @value: a valid #GValue of type %G_TYPE_VARIANT
- * @variant: (allow-none): a #GVariant, or %NULL
+ * @variant: (nullable) (transfer full): a #GVariant, or %NULL
  *
  * Set the contents of a variant #GValue to @variant, and takes over
  * the ownership of the caller's reference to @variant;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]