[glib] GSocket: fix broadcast documentation



commit 2ea4af6f019632b810ea6f7c0f0c44498cf5dddf
Author: Dan Winship <danw gnome org>
Date:   Sun Feb 17 09:41:55 2013 -0500

    GSocket: fix broadcast documentation
    
    The :broadcast property only affects sending broadcast packets, not
    receiving them.

 gio/gsocket.c |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/gio/gsocket.c b/gio/gsocket.c
index e31ca0e..8d13e12 100644
--- a/gio/gsocket.c
+++ b/gio/gsocket.c
@@ -895,14 +895,14 @@ g_socket_class_init (GSocketClass *klass)
   /**
    * GSocket:broadcast:
    *
-   * Whether the socket should allow sending to and receiving from broadcast addresses.
+   * Whether the socket should allow sending to broadcast addresses.
    *
    * Since: 2.32
    */
   g_object_class_install_property (gobject_class, PROP_BROADCAST,
                                   g_param_spec_boolean ("broadcast",
                                                         P_("Broadcast"),
-                                                        P_("Whether to allow sending to and receiving from 
broadcast addresses"),
+                                                        P_("Whether to allow sending to broadcast 
addresses"),
                                                         FALSE,
                                                         G_PARAM_READWRITE |
                                                          G_PARAM_STATIC_STRINGS));
@@ -1387,7 +1387,7 @@ g_socket_set_ttl (GSocket  *socket,
  *
  * Gets the broadcast setting on @socket; if %TRUE,
  * it is possible to send packets to broadcast
- * addresses or receive from broadcast addresses.
+ * addresses.
  *
  * Returns: the broadcast setting on @socket
  *
@@ -1415,11 +1415,11 @@ g_socket_get_broadcast (GSocket *socket)
 /**
  * g_socket_set_broadcast:
  * @socket: a #GSocket.
- * @broadcast: whether @socket should allow sending to and receiving
- *     from broadcast addresses
+ * @broadcast: whether @socket should allow sending to broadcast
+ *     addresses
  *
- * Sets whether @socket should allow sending to and receiving from
- * broadcast addresses. This is %FALSE by default.
+ * Sets whether @socket should allow sending to broadcast addresses.
+ * This is %FALSE by default.
  *
  * Since: 2.32
  */


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