Properly document GtkAccessible:accessible-role

Use a gtk-doc stanza, instead of the GParamSpec strings.
This commit is contained in:
Emmanuele Bassi 2020-08-25 11:30:46 +01:00
parent 797b3bd1b1
commit fd568e63c2

View File

@ -55,6 +55,13 @@ G_DEFINE_INTERFACE (GtkAccessible, gtk_accessible, G_TYPE_OBJECT)
static void
gtk_accessible_default_init (GtkAccessibleInterface *iface)
{
/**
* GtkAccessible:accessible-role:
*
* The accessible role of the given #GtkAccessible implementation.
*
* The accessible role cannot be changed once set.
*/
GParamSpec *pspec =
g_param_spec_enum ("accessible-role",
"Accessible Role",