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:
Philip Withnall
2023-11-29 13:23:09 +00:00
parent f6a1599e3c
commit f3aebf0c15
37 changed files with 610 additions and 1 deletions

View File

@@ -134,6 +134,13 @@ g_emblem_class_init (GEmblemClass *klass)
gobject_class->set_property = g_emblem_set_property;
gobject_class->get_property = g_emblem_get_property;
/**
* GEmblem:origin:
*
* The origin the emblem is derived from.
*
* Since: 2.18
*/
g_object_class_install_property (gobject_class,
PROP_ORIGIN,
g_param_spec_enum ("origin",
@@ -143,6 +150,13 @@ g_emblem_class_init (GEmblemClass *klass)
G_EMBLEM_ORIGIN_UNKNOWN,
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/**
* GEmblem:icon:
*
* The actual icon of the emblem.
*
* Since: 2.18
*/
g_object_class_install_property (gobject_class,
PROP_ICON,
g_param_spec_object ("icon",