From caad609893d41e4a7f583f55f12522842c2d1cf9 Mon Sep 17 00:00:00 2001 From: Takashi Sakamoto Date: Tue, 19 Apr 2022 18:41:08 +0900 Subject: [PATCH] timer: device_status: 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/device-status.c | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/src/timer/device-status.c b/src/timer/device-status.c index 5d89103..bab91f4 100644 --- a/src/timer/device-status.c +++ b/src/timer/device-status.c @@ -2,14 +2,11 @@ #include "privates.h" /** - * SECTION: device-status - * @Title: ALSATimerDeviceStatus - * @Short_description: A GObject-derived object to represent status of timer - * device. + * ALSATimerDeviceStatus: + * A GObject-derived object to represent status of timer device. * - * A #ALSATimerDeviceStatus is a GObject-derived object to represent status of - * timer device. The call of alsatimer_get_device_status() returns the instance - * of object. + * A [class@DeviceStatus] is a GObject-derived object to represent status of timer device. The + * call of [func@get_device_status] returns the instance of object. * * The object wraps 'struct snd_timer_gstatus' in UAPI of Linux sound subsystem. */ @@ -90,9 +87,9 @@ static void alsatimer_device_status_init(ALSATimerDeviceStatus *self) /** * alsatimer_device_status_new: * - * Allocate and return an instance of #ALSATimerDeviceStatus. + * Allocate and return an instance of [class@DeviceStatus]. * - * Returns: A #ALSATimerDeviceStatus. + * Returns: An instance of [class@DeviceStatus]. */ ALSATimerDeviceStatus *alsatimer_device_status_new() { -- 2.47.3