summaryrefslogtreecommitdiff
path: root/gio/gemblem.c
diff options
context:
space:
mode:
Diffstat (limited to 'gio/gemblem.c')
-rw-r--r--gio/gemblem.c31
1 files changed, 19 insertions, 12 deletions
diff --git a/gio/gemblem.c b/gio/gemblem.c
index af1ba0006..dc032672e 100644
--- a/gio/gemblem.c
+++ b/gio/gemblem.c
@@ -31,14 +31,11 @@
/**
- * SECTION:gemblem
- * @short_description: An object for emblems
- * @include: gio/gio.h
- * @see_also: #GIcon, #GEmblemedIcon, #GLoadableIcon, #GThemedIcon
+ * GEmblem:
*
- * #GEmblem is an implementation of #GIcon that supports
+ * `GEmblem` is an implementation of [iface@Gio.Icon] that supports
* having an emblem, which is an icon with additional properties.
- * It can than be added to a #GEmblemedIcon.
+ * It can than be added to a [class@Gio.EmblemedIcon].
*
* Currently, only metainformation about the emblem's origin is
* supported. More may be added in the future.
@@ -137,20 +134,30 @@ 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",
- P_("GEmblem’s origin"),
- P_("Tells which origin the emblem is derived from"),
+ g_param_spec_enum ("origin", NULL, NULL,
G_TYPE_EMBLEM_ORIGIN,
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",
- P_("The icon of the emblem"),
- P_("The actual icon of the emblem"),
+ g_param_spec_object ("icon", NULL, NULL,
G_TYPE_OBJECT,
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));