[glib] Clean up refereces to @protocol_id in g_socket_new docs



commit f8cd1c530488c0b56634fab049ac775d094e9e58
Author: Alexander Larsson <alexl redhat com>
Date:   Tue May 19 10:16:32 2009 +0200

    Clean up refereces to @protocol_id in g_socket_new docs
    
    This was not fully updated from the protocol to protocol_id change.
---
 gio/gsocket.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gio/gsocket.c b/gio/gsocket.c
index 6972d2a..a2eb843 100644
--- a/gio/gsocket.c
+++ b/gio/gsocket.c
@@ -857,10 +857,10 @@ g_socket_initable_init (GInitable *initable,
  * @error: #GError for error reporting, or %NULL to ignore.
  *
  * Creates a new #GSocket with the defined family, type and protocol.
- * If @protocol is %NULL the default protocol type for the family and
+ * If @protocol_id is 0 the default protocol type for the family and
  * type is used.
  *
- * The @protocol is a family and type specific int that specifies what
+ * The @protocol_id is a family and type specific int that specifies what
  * kind of protocol to use. Many families only support one protocol,
  * and use 0 for this, others support several and using 0 means
  * to use the default protocol for the family and type. To use



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