[glib] gnetworkaddress: add return type annotation to parse methods
- From: Evan Nemerson <evann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] gnetworkaddress: add return type annotation to parse methods
- Date: Mon, 11 May 2015 16:42:00 +0000 (UTC)
commit e18e7956bfc8a65ecec18b1837d5b7835312c40a
Author: Evan Nemerson <evan nemerson com>
Date: Sat May 9 23:45:03 2015 -0700
gnetworkaddress: add return type annotation to parse methods
https://bugzilla.gnome.org/show_bug.cgi?id=749180
gio/gnetworkaddress.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/gio/gnetworkaddress.c b/gio/gnetworkaddress.c
index 8e073fd..3dfe578 100644
--- a/gio/gnetworkaddress.c
+++ b/gio/gnetworkaddress.c
@@ -354,7 +354,8 @@ g_network_address_new_loopback (guint16 port)
* is deprecated, because it depends on the contents of /etc/services,
* which is generally quite sparse on platforms other than Linux.)
*
- * Returns: (transfer full): the new #GNetworkAddress, or %NULL on error
+ * Returns: (transfer full) (type GNetworkAddress): the new
+ * #GNetworkAddress, or %NULL on error
*
* Since: 2.22
*/
@@ -772,7 +773,8 @@ _g_uri_from_authority (const gchar *protocol,
* g_network_address_parse() allows #GSocketClient to determine
* when to use application-specific proxy protocols.
*
- * Returns: (transfer full): the new #GNetworkAddress, or %NULL on error
+ * Returns: (transfer full) (type GNetworkAddress): the new
+ * #GNetworkAddress, or %NULL on error
*
* Since: 2.26
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]