diff options
| author | Matthias Clasen <mclasen@redhat.com> | 2009-05-27 18:20:08 -0400 |
|---|---|---|
| committer | Matthias Clasen <mclasen@redhat.com> | 2009-05-27 18:20:08 -0400 |
| commit | 06144900ec87effb99c94e2d8369ca270d024bf1 (patch) | |
| tree | 4de2e05c96793588e799dcf01b82ea1d27df21a2 /gio/gsocketaddress.c | |
| parent | eecbbb0a20a114b4a2c6759aa108940902c8961c (diff) | |
| download | glib-06144900ec87effb99c94e2d8369ca270d024bf1.tar.gz | |
Documentation and coding style fixups
Lots of pedanic changes.
Diffstat (limited to 'gio/gsocketaddress.c')
| -rw-r--r-- | gio/gsocketaddress.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/gio/gsocketaddress.c b/gio/gsocketaddress.c index 3ca793f18..70c9e36db 100644 --- a/gio/gsocketaddress.c +++ b/gio/gsocketaddress.c @@ -48,14 +48,14 @@ * in the BSD sockets API. This is an abstract class; use * #GInetSocketAddress for internet sockets, or #GUnixSocketAddress * for UNIX domain sockets. - **/ + */ /** * GSocketAddress: * * A socket endpoint address, corresponding to <type>struct sockaddr</type> * or one of its subtypes. - **/ + */ enum { @@ -118,7 +118,8 @@ g_socket_address_class_init (GSocketAddressClass *klass) P_("The family of the socket address"), G_TYPE_SOCKET_FAMILY, G_SOCKET_FAMILY_INVALID, - G_PARAM_READABLE | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_STATIC_NAME)); + G_PARAM_READABLE | + G_PARAM_STATIC_STRINGS)); } static void @@ -142,7 +143,7 @@ g_socket_address_init (GSocketAddress *address) * g_socket_address_to_native(). * * Returns: the size of the native <type>struct sockaddr</type> that - * @address represents + * @address represents * * Since: 2.22 */ @@ -176,10 +177,10 @@ g_socket_address_get_native_size (GSocketAddress *address) * Since: 2.22 */ gboolean -g_socket_address_to_native (GSocketAddress *address, - gpointer dest, - gsize destlen, - GError **error) +g_socket_address_to_native (GSocketAddress *address, + gpointer dest, + gsize destlen, + GError **error) { g_return_val_if_fail (G_IS_SOCKET_ADDRESS (address), FALSE); |
