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>
/**
* 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].
*/
/**
* 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].
*/
/**
* 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].
*/
/**
* 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].
*/
/**
* 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].
*/
/**
* 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].
*/