]> git.alsa-project.org Git - alsa-gobject.git/commitdiff
all: remove annotation from error domain
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 12 Dec 2022 07:39:12 +0000 (16:39 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 12 Dec 2022 07:47:55 +0000 (16:47 +0900)
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 <o-takashi@sakamocchi.jp>
src/ctl/card.c
src/hwdep/device-common.c
src/rawmidi/stream-pair.c
src/seq/event.c
src/seq/user-client.c
src/timer/user-instance.c

index 7b6e558f07709ffed0400b1da5ac404d74158b9c..ee2617a1691bd5c324908fa84fb4a676fc9f7ee8 100644 (file)
@@ -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].
  */
index a20ea40297b73f5f4ef8753791414ce1955cba0a..22601fdfe4a0127a218f151a1970991837365a9c 100644 (file)
@@ -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].
  */
index 54cc65211187cce0dab39999cfe863283359988f..6bfc1423e3505470cfcedcf026d8d2833d9f446f 100644 (file)
@@ -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].
  */
index 4cf1f703513d1a1e3a02759ebea86d0dcdf7feb6..458c564667801ca663f1e8314263d2df33fac47c 100644 (file)
@@ -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].
  */
index a2f9d98bd715705516b2db8fcc999d53f1b2df56..daaa1229f7f7da23c7772e3e59bdebf34f4b2680 100644 (file)
@@ -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].
  */
index be07af7ed02fbdb48ea35ed95bdbb259acccea39..6e2c737001a47c1d8fc7631132e817d57c590f17 100644 (file)
@@ -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].
  */