From: Takashi Sakamoto Date: Mon, 20 Jun 2022 09:44:49 +0000 (+0900) Subject: ctl: card: add annotation to object properties X-Git-Tag: v0.3.0~61 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=6540befe694ab73ede0e712d115bd33b01a12a79;p=alsa-gobject.git ctl: card: add annotation to object properties Signed-off-by: Takashi Sakamoto --- 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.",