From 17414dc13f0618f2d80e1b2d492a07f781859992 Mon Sep 17 00:00:00 2001 From: Takashi Sakamoto Date: Mon, 20 Jun 2022 18:44:49 +0900 Subject: [PATCH] ctl: card: add annotation to object properties Signed-off-by: Takashi Sakamoto --- src/ctl/card.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/ctl/card.c b/src/ctl/card.c index 8b0bfbb..26e9dd5 100644 --- a/src/ctl/card.c +++ b/src/ctl/card.c @@ -116,12 +116,22 @@ static void alsactl_card_class_init(ALSACtlCardClass *klass) gobject_class->finalize = ctl_card_finalize; gobject_class->get_property = ctl_card_get_property; + /** + * ALSACtlCard:devnode: + * + * The full path to special file of control character device. + */ ctl_card_props[CTL_CARD_PROP_DEVNODE] = g_param_spec_string("devnode", "devnode", - "The full path of control character device.", + "The full path to special file of control character device.", "", G_PARAM_READABLE); + /** + * ALSACtlCard:subscribed: + * + * Whether to be subscribed for event. + */ ctl_card_props[CTL_CARD_PROP_SUBSCRIBED] = g_param_spec_boolean("subscribed", "subscribed", "Whether to be subscribed for event.", -- 2.47.3