From 9ec18f7288fecbc3c766d76433a42f38979c67a7 Mon Sep 17 00:00:00 2001 From: Takashi Sakamoto Date: Mon, 20 Jun 2022 18:44:49 +0900 Subject: [PATCH] timer: device-params: add annotation to object properties Signed-off-by: Takashi Sakamoto --- src/timer/device-params.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/timer/device-params.c b/src/timer/device-params.c index c6480c1..0840be3 100644 --- a/src/timer/device-params.c +++ b/src/timer/device-params.c @@ -69,6 +69,11 @@ static void alsatimer_device_params_class_init(ALSATimerDeviceParamsClass *klass gobject_class->set_property = timer_device_params_set_property; gobject_class->get_property = timer_device_params_get_property; + /** + * ALSATimerDeviceParams:period-numerator: + * + * The numerator of period for timer. + */ timer_device_params_props[TIMER_DEVICE_PARAMS_PROP_PERIOD_NUM] = g_param_spec_uint64("period-numerator", "period-numerator", "The numerator of period for timer.", @@ -76,6 +81,11 @@ static void alsatimer_device_params_class_init(ALSATimerDeviceParamsClass *klass 0, G_PARAM_READWRITE); + /** + * ALSATimerDeviceParams:period-denominator: + * + * The denominator of period for timer. + */ timer_device_params_props[TIMER_DEVICE_PARAMS_PROP_PERIOD_DEN] = g_param_spec_uint64("period-denominator", "period-denominator", "The denominator of period for timer.", -- 2.47.3