mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
gio: Add various missing property documentation comments
Previously these properties would have been documented using the strings from the pspec, but those will be removed in the following commit. Re-add the documentation using those strings, but as gi-docgen documentation comments. Signed-off-by: Philip Withnall <pwithnall@gnome.org> Helps: #2991
This commit is contained in:
@@ -135,6 +135,13 @@ g_inet_address_mask_class_init (GInetAddressMaskClass *klass)
|
||||
gobject_class->get_property = g_inet_address_mask_get_property;
|
||||
gobject_class->dispose = g_inet_address_mask_dispose;
|
||||
|
||||
/**
|
||||
* GInetAddressMask:family:
|
||||
*
|
||||
* The address family (IPv4 or IPv6).
|
||||
*
|
||||
* Since: 2.32
|
||||
*/
|
||||
g_object_class_install_property (gobject_class, PROP_FAMILY,
|
||||
g_param_spec_enum ("family",
|
||||
P_("Address family"),
|
||||
@@ -143,6 +150,14 @@ g_inet_address_mask_class_init (GInetAddressMaskClass *klass)
|
||||
G_SOCKET_FAMILY_INVALID,
|
||||
G_PARAM_READABLE |
|
||||
G_PARAM_STATIC_STRINGS));
|
||||
|
||||
/**
|
||||
* GInetAddressMask:address:
|
||||
*
|
||||
* The base address.
|
||||
*
|
||||
* Since: 2.32
|
||||
*/
|
||||
g_object_class_install_property (gobject_class, PROP_ADDRESS,
|
||||
g_param_spec_object ("address",
|
||||
P_("Address"),
|
||||
@@ -150,6 +165,14 @@ g_inet_address_mask_class_init (GInetAddressMaskClass *klass)
|
||||
G_TYPE_INET_ADDRESS,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_STATIC_STRINGS));
|
||||
|
||||
/**
|
||||
* GInetAddressMask:length:
|
||||
*
|
||||
* The prefix length, in bytes.
|
||||
*
|
||||
* Since: 2.32
|
||||
*/
|
||||
g_object_class_install_property (gobject_class, PROP_LENGTH,
|
||||
g_param_spec_uint ("length",
|
||||
P_("Length"),
|
||||
|
Reference in New Issue
Block a user