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/ginetsocketaddress.c | |
parent | eecbbb0a20a114b4a2c6759aa108940902c8961c (diff) | |
download | glib-06144900ec87effb99c94e2d8369ca270d024bf1.tar.gz |
Documentation and coding style fixups
Lots of pedanic changes.
Diffstat (limited to 'gio/ginetsocketaddress.c')
-rw-r--r-- | gio/ginetsocketaddress.c | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/gio/ginetsocketaddress.c b/gio/ginetsocketaddress.c index cdd375a9f..fac98150f 100644 --- a/gio/ginetsocketaddress.c +++ b/gio/ginetsocketaddress.c @@ -39,14 +39,14 @@ * * An IPv4 or IPv6 socket address; that is, the combination of a * #GInetAddress and a port number. - **/ + */ /** * GInetSocketAddress: * * An IPv4 or IPv6 socket address, corresponding to a <type>struct * sockaddr_in</type> or <type>struct sockaddr_in6</type>. - **/ + */ G_DEFINE_TYPE (GInetSocketAddress, g_inet_socket_address, G_TYPE_SOCKET_ADDRESS); enum { @@ -159,10 +159,10 @@ g_inet_socket_address_get_native_size (GSocketAddress *address) } static gboolean -g_inet_socket_address_to_native (GSocketAddress *address, - gpointer dest, - gsize destlen, - GError **error) +g_inet_socket_address_to_native (GSocketAddress *address, + gpointer dest, + gsize destlen, + GError **error) { GInetSocketAddress *addr; GSocketFamily family; @@ -233,19 +233,23 @@ g_inet_socket_address_class_init (GInetSocketAddressClass *klass) g_object_class_install_property (gobject_class, PROP_ADDRESS, g_param_spec_object ("address", - "address", - "address", + P_("Address"), + P_("The address"), G_TYPE_INET_ADDRESS, - G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_BLURB | G_PARAM_STATIC_NICK)); + G_PARAM_CONSTRUCT_ONLY | + G_PARAM_READWRITE | + G_PARAM_STATIC_STRINGS)); g_object_class_install_property (gobject_class, PROP_PORT, g_param_spec_uint ("port", - "port", - "port", + P_("Port"), + P_("The port"), 0, 65535, 0, - G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_BLURB | G_PARAM_STATIC_NICK)); + G_PARAM_CONSTRUCT_ONLY | + G_PARAM_READWRITE | + G_PARAM_STATIC_STRINGS)); } static void |