From: Takashi Sakamoto Date: Mon, 12 Dec 2022 07:39:12 +0000 (+0900) Subject: all: remove annotation from error domain X-Git-Tag: v0.3.1~11 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=f1d65c08554f982dc08f5ffb72034b3a143e6664;p=alsa-gobject.git all: remove annotation from error domain As I fixed gi-docgen at 6c690567b6b ("utils: fix failure to generate link to error domain"), gi-docgen release of 2022.2 brings loss of backward compatibility about annotation for error domain. This commit is a workaround for successful build either in 2022.1 or former releases and in 2022.2 or later releases of gi-docgen. When gi-docgen 2022.2 disseminates vastly, the annotation will be back. Signed-off-by: Takashi Sakamoto --- diff --git a/src/ctl/card.c b/src/ctl/card.c index 7b6e558..ee2617a 100644 --- a/src/ctl/card.c +++ b/src/ctl/card.c @@ -31,7 +31,7 @@ G_DEFINE_TYPE_WITH_PRIVATE(ALSACtlCard, alsactl_card, G_TYPE_OBJECT) /** * alsactl_card_error_quark: * - * Return the [alias@GLib.Quark] for [struct@GLib.Error] with code in [enum@CardError] enumerations. + * Return the [alias@GLib.Quark] for [struct@GLib.Error] with code in `ALSACtl.CardError`. * * Returns: A [alias@GLib.Quark]. */ diff --git a/src/hwdep/device-common.c b/src/hwdep/device-common.c index a20ea40..22601fd 100644 --- a/src/hwdep/device-common.c +++ b/src/hwdep/device-common.c @@ -17,8 +17,7 @@ G_DEFINE_INTERFACE(ALSAHwdepDeviceCommon, alsahwdep_device_common, G_TYPE_OBJECT /** * alsahwdep_device_common_error_quark: * - * Return the [alias@GLib.Quark] for [struct@GLib.Error] with code in ALSAHwdep.DeviceCommonError - * enumerations. + * Return the [alias@GLib.Quark] for [struct@GLib.Error] with code in `ALSAHwdep.DeviceCommonError`. * * Returns: A [alias@GLib.Quark]. */ diff --git a/src/rawmidi/stream-pair.c b/src/rawmidi/stream-pair.c index 54cc652..6bfc142 100644 --- a/src/rawmidi/stream-pair.c +++ b/src/rawmidi/stream-pair.c @@ -39,8 +39,7 @@ G_DEFINE_TYPE_WITH_PRIVATE(ALSARawmidiStreamPair, alsarawmidi_stream_pair, G_TYP /** * alsarawmidi_stream_pair_error_quark: * - * Return the [alias@GLib.Quark] for [struct@GLib.Error] with code in [enum@StreamPairError] - * enumerations. + * Return the [alias@GLib.Quark] for [struct@GLib.Error] with code in `ALSARawmidi.StreamPairError`. * * Returns: A [alias@GLib.Quark]. */ diff --git a/src/seq/event.c b/src/seq/event.c index 4cf1f70..458c564 100644 --- a/src/seq/event.c +++ b/src/seq/event.c @@ -117,8 +117,7 @@ G_DEFINE_BOXED_TYPE(ALSASeqEvent, alsaseq_event, seq_event_copy, seq_event_free) /** * alsaseq_event_error_quark: * - * Return the [alias@GLib.Quark] for [struct@GLib.Error] which has code of [enum@EventError] - * enumerations. + * Return the [alias@GLib.Quark] for [struct@GLib.Error] which has code of `ALSASeq.EventError`. * * Returns: A [alias@GLib.Quark]. */ diff --git a/src/seq/user-client.c b/src/seq/user-client.c index a2f9d98..daaa122 100644 --- a/src/seq/user-client.c +++ b/src/seq/user-client.c @@ -35,8 +35,8 @@ G_DEFINE_TYPE_WITH_PRIVATE(ALSASeqUserClient, alsaseq_user_client, G_TYPE_OBJECT /** * alsaseq_user_client_error_quark: * - * Return the [alias@GLib.Quark] for [struct@GLib.Error] which has code of [enum@UserClientError] - * enumerations. + * Return the [alias@GLib.Quark] for [struct@GLib.Error] which has code of + * `ALSASeq.UserClientError`. * * Returns: A [alias@GLib.Quark]. */ diff --git a/src/timer/user-instance.c b/src/timer/user-instance.c index be07af7..6e2c737 100644 --- a/src/timer/user-instance.c +++ b/src/timer/user-instance.c @@ -30,8 +30,8 @@ G_DEFINE_TYPE_WITH_PRIVATE(ALSATimerUserInstance, alsatimer_user_instance, G_TYP /** * alsatimer_user_instance_error_quark: * - * Return the [alias@GLib.Quark] for [struct@GLib.Error] which has code in [enum@UserInstanceError] - * enumerations. + * Return the [alias@GLib.Quark] for [struct@GLib.Error] which has code in + * `ALSATimer.UserInstanceError`. * * Returns: A [alias@GLib.Quark]. */