From 77173859556ef17f463aaf354626bda5b4612ffd Mon Sep 17 00:00:00 2001 From: Takashi Sakamoto Date: Tue, 19 Apr 2022 18:41:08 +0900 Subject: [PATCH] timer: event_data_tick: link optimization to gi-docgen The gi-docgen supports enhancement of inter-document link. This commit is optimization to it. Signed-off-by: Takashi Sakamoto --- src/timer/event-data-tick.c | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/src/timer/event-data-tick.c b/src/timer/event-data-tick.c index dc4efe0..0bfaa8f 100644 --- a/src/timer/event-data-tick.c +++ b/src/timer/event-data-tick.c @@ -2,15 +2,12 @@ #include "privates.h" /** - * SECTION: event-data-tick - * @Title: ALSATimerEventDataTick - * @Short_description: A boxed object to represent event of timer with tick - * count + * ALSATimerEventDataTick: + * A boxed object to represent event of timer with tick count. * - * A #ALSATimerEventDataTick is a boxed object to represent event of timer with - * tick count. + * A [struct@EventDataTick] is a boxed object to represent event of timer with tick count. * - * The object wraps 'struct snd_timer_read' in UAPI of Linux sound subsystem. + * The object wraps `struct snd_timer_read` in UAPI of Linux sound subsystem. */ ALSATimerEventDataTick *timer_event_data_tick_copy(const ALSATimerEventDataTick *self) { @@ -29,7 +26,7 @@ G_DEFINE_BOXED_TYPE(ALSATimerEventDataTick, alsatimer_event_data_tick, timer_eve /** * alsatimer_event_data_tick_get_resolution: - * @self: A #ALSATimerEventDataTick. + * @self: A [struct@EventDataTick]. * @resolution: (out): The resolution of tick event. * * Get the resolution of tick event. @@ -42,7 +39,7 @@ void alsatimer_event_data_tick_get_resolution(const ALSATimerEventDataTick *self /** * alsatimer_event_data_tick_get_ticks: - * @self: A #ALSATimerEventDataTick. + * @self: A [struct@EventDataTick]. * @ticks: (out): The tick count since the last event. * * Get the tick count since the last event. -- 2.47.3