[glib] GSocketClient: Drop @returns syntax from doc comments



commit f62ee0a0ca29c263083f15d3dd144dc1fb01be22
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Nov 21 11:03:31 2011 -0500

    GSocketClient: Drop @returns syntax from doc comments

 gio/gsocketclient.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gio/gsocketclient.c b/gio/gsocketclient.c
index d14234d..da534e7 100644
--- a/gio/gsocketclient.c
+++ b/gio/gsocketclient.c
@@ -1013,7 +1013,6 @@ g_socket_client_connect_to_host (GSocketClient  *client,
  * @service: the name of the service to connect to
  * @cancellable: (allow-none): a #GCancellable, or %NULL
  * @error: a pointer to a #GError, or %NULL
- * @returns: (transfer full): a #GSocketConnection if successful, or %NULL on error
  *
  * Attempts to create a TCP connection to a service.
  *
@@ -1029,6 +1028,8 @@ g_socket_client_connect_to_host (GSocketClient  *client,
  * In the event of any failure (DNS error, service not found, no hosts
  * connectable) %NULL is returned and @error (if non-%NULL) is set
  * accordingly.
+ *
+ * Returns: (transfer full): a #GSocketConnection if successful, or %NULL on error
  */
 GSocketConnection *
 g_socket_client_connect_to_service (GSocketClient  *client,



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