]> git.alsa-project.org Git - alsa-gobject.git/commitdiff
seq: optimize to gi-docgen 2023.3 topic/gi-docgen-2023.3
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Fri, 15 Mar 2024 06:15:36 +0000 (15:15 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Fri, 15 Mar 2024 06:19:12 +0000 (15:19 +0900)
The version of gi-docgen applies the restrict rule for the version
expression. In the rule, the dot following to the number causes failure.
This commit fixes the failure.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
src/seq/port-info.c
src/seq/queue-timer-alsa.c
src/seq/queue-timer-common.c
src/seq/remove-filter.c
src/seq/subscribe-data.c

index 737b665178a1fad9ad6327758a9f4f748abd582d..751bf0c3e454037ad66ec6918adfcd1533a381a3 100644 (file)
@@ -156,7 +156,7 @@ static void alsaseq_port_info_class_init(ALSASeqPortInfoClass *klass)
      *
      * The address of port.
      *
-     * Since: 0.3.
+     * Since: 0.3
      */
     seq_port_info_props[SEQ_PORT_INFO_PROP_ADDR] =
         g_param_spec_boxed("addr", "addr",
@@ -169,7 +169,7 @@ static void alsaseq_port_info_class_init(ALSASeqPortInfoClass *klass)
      *
      * The name of port.
      *
-     * Since: 0.3.
+     * Since: 0.3
      */
     seq_port_info_props[SEQ_PORT_INFO_PROP_NAME] =
         g_param_spec_string("name", "name",
@@ -182,7 +182,7 @@ static void alsaseq_port_info_class_init(ALSASeqPortInfoClass *klass)
      *
      * The capabilities of port, a set of [flags@PortCapFlag].
      *
-     * Since: 0.3.
+     * Since: 0.3
      */
     seq_port_info_props[SEQ_PORT_INFO_PROP_CAPS] =
         g_param_spec_flags("caps", "caps",
@@ -196,7 +196,7 @@ static void alsaseq_port_info_class_init(ALSASeqPortInfoClass *klass)
      *
      * The attributes of port, a set of [flags@PortAttrFlag].
      *
-     * Since: 0.3.
+     * Since: 0.3
      */
     seq_port_info_props[SEQ_PORT_INFO_PROP_ATTRS] =
         g_param_spec_flags("attrs", "attrs",
@@ -210,7 +210,7 @@ static void alsaseq_port_info_class_init(ALSASeqPortInfoClass *klass)
      *
      * The number of channels per MIDI port.
      *
-     * Since: 0.3.
+     * Since: 0.3
      */
     seq_port_info_props[SEQ_PORT_INFO_PROP_MIDI_CHANNELS] =
         g_param_spec_int("midi-channels", "midi-channels",
@@ -224,7 +224,7 @@ static void alsaseq_port_info_class_init(ALSASeqPortInfoClass *klass)
      *
      * The number of voices per MIDI port.
      *
-     * Since: 0.3.
+     * Since: 0.3
      */
     seq_port_info_props[SEQ_PORT_INFO_PROP_MIDI_VOICES] =
         g_param_spec_int("midi-voices", "midi-voices",
@@ -238,7 +238,7 @@ static void alsaseq_port_info_class_init(ALSASeqPortInfoClass *klass)
      *
      * The number of voices per synth port.
      *
-     * Since: 0.3.
+     * Since: 0.3
      */
     seq_port_info_props[SEQ_PORT_INFO_PROP_SYNTH_VOICES] =
         g_param_spec_int("synth-voices", "synth-voices",
@@ -252,7 +252,7 @@ static void alsaseq_port_info_class_init(ALSASeqPortInfoClass *klass)
      *
      * The current number of subscribers to read.
      *
-     * Since: 0.3.
+     * Since: 0.3
      */
     seq_port_info_props[SEQ_PORT_INFO_PROP_READ_USERS] =
         g_param_spec_int("read-users", "read-users",
@@ -266,7 +266,7 @@ static void alsaseq_port_info_class_init(ALSASeqPortInfoClass *klass)
      *
      * The current number of subscribers to write.
      *
-     * Since: 0.3.
+     * Since: 0.3
      */
     seq_port_info_props[SEQ_PORT_INFO_PROP_WRITE_USERS] =
         g_param_spec_int("write-users", "write-users",
@@ -280,7 +280,7 @@ static void alsaseq_port_info_class_init(ALSASeqPortInfoClass *klass)
      *
      * The mode whether to overwrite time stamp for event when the event is delivered from the port.
      *
-     * Since: 0.3.
+     * Since: 0.3
      */
     seq_port_info_props[SEQ_PORT_INFO_PROP_TSTAMP_OVERWRITE] =
         g_param_spec_boolean("tstamp-overwrite", "tstamp-overwrite",
@@ -295,7 +295,7 @@ static void alsaseq_port_info_class_init(ALSASeqPortInfoClass *klass)
      * The mode of time stamp. This is effective when the [property@PortInfo:tstamp-overwrite] is
      * enabled.
      *
-     * Since: 0.3.
+     * Since: 0.3
      */
     seq_port_info_props[SEQ_PORT_INFO_PROP_TSTAMP_MODE] =
         g_param_spec_enum("tstamp-mode", "tstamp-mode",
@@ -311,7 +311,7 @@ static void alsaseq_port_info_class_init(ALSASeqPortInfoClass *klass)
      * The numeric ID of queue to update time stamp when [property@PortInfo:tstamp-overwrite] is
      * set to True. One of [enum@SpecificQueueId] is available as well.
      *
-     * Since: 0.3.
+     * Since: 0.3
      */
     seq_port_info_props[SEQ_PORT_INFO_PROP_TIME_QUEUE] =
         g_param_spec_uchar("queue-id", "queue-id",
index 6cd7ee54995235198fcaa65a0e7da721b01e9632..abf094ee8acc1ac9e937a87f39047f0cdcd4eec5 100644 (file)
@@ -82,7 +82,7 @@ static void alsaseq_queue_timer_alsa_class_init(ALSASeqQueueTimerAlsaClass *klas
      *
      * The identifier of associated timer instance in ALSA Timer.
      *
-     * Since: 0.3.
+     * Since: 0.3
      */
     g_object_class_install_property(gobject_class, QUEUE_TIMER_ALSA_PROP_DEVICE_ID,
         g_param_spec_boxed("device-id", "device-id",
@@ -95,7 +95,7 @@ static void alsaseq_queue_timer_alsa_class_init(ALSASeqQueueTimerAlsaClass *klas
      *
      * The number of ticks as resolution of timer.
      *
-     * Since: 0.3.
+     * Since: 0.3
      */
     g_object_class_install_property(gobject_class, QUEUE_TIMER_ALSA_PROP_RESOLUTION_TICKS,
         g_param_spec_uint("resolution-ticks", "resolution-ticks",
index 5519fdb576171ccfb6cab56c6797134efd2861cb..1d3e067a22b38fad72498997409662c97a5ecf3c 100644 (file)
@@ -9,7 +9,7 @@
  *
  * The object wraps `struct snd_seq_queue_timer` in UAPI of Linux sound subsystem.
  *
- * Since: 0.3.
+ * Since: 0.3
  */
 
 static void alsaseq_queue_timer_common_default_init(ALSASeqQueueTimerCommonInterface *iface);
@@ -23,7 +23,7 @@ static void alsaseq_queue_timer_common_default_init(ALSASeqQueueTimerCommonInter
      *
      * The numeric identifier of queue. An entry of [enum@SpecificClientId] is available as well.
      *
-     * Since: 0.3.
+     * Since: 0.3
      */
     g_object_interface_install_property(iface,
         g_param_spec_uchar(QUEUE_ID_PROP_NAME, QUEUE_ID_PROP_NAME,
@@ -36,7 +36,7 @@ static void alsaseq_queue_timer_common_default_init(ALSASeqQueueTimerCommonInter
      *
      * The type of timer for the queue, one of [enum@QueueTimerType].
      *
-     * Since: 0.3.
+     * Since: 0.3
      */
     g_object_interface_install_property(iface,
         g_param_spec_enum(TIMER_TYPE_PROP_NAME, TIMER_TYPE_PROP_NAME,
index ffa5574ebde702e0e8d0cbae8133460f50d13c9d..1b5f61c3f7fbf2c96df13a104ff388c5bcf7afdc 100644 (file)
@@ -107,7 +107,7 @@ static void alsaseq_remove_filter_class_init(ALSASeqRemoveFilterClass *klass)
      * The set of flags to filter events. They decide how to evaluate included data at call of
      * [method@UserClient.remove_events].
      *
-     * Since: 0.3.
+     * Since: 0.3
      */
     seq_remove_filter_props[SEQ_REMOVE_FILTER_PROP_FLAGS] =
         g_param_spec_flags("flags", "flags",
@@ -122,7 +122,7 @@ static void alsaseq_remove_filter_class_init(ALSASeqRemoveFilterClass *klass)
      * The numeric identifier of queue as filter condition. This is always evaluated at call of
      * [method@UserClient.remove_events].
      *
-     * Since: 0.3.
+     * Since: 0.3
      */
     seq_remove_filter_props[SEQ_REMOVE_FILTER_PROP_QUEUE_ID] =
         g_param_spec_uchar("queue-id", "queue-id",
@@ -137,7 +137,7 @@ static void alsaseq_remove_filter_class_init(ALSASeqRemoveFilterClass *klass)
      * The destionation of event as filter condition. This is evaluated with
      * [flags@RemoveFilterFlag].DEST at call of [method@UserClient.remove_events].
      *
-     * Since: 0.3.
+     * Since: 0.3
      */
     seq_remove_filter_props[SEQ_REMOVE_FILTER_PROP_DST] =
         g_param_spec_boxed("destination", "destination",
@@ -151,7 +151,7 @@ static void alsaseq_remove_filter_class_init(ALSASeqRemoveFilterClass *klass)
      * The channel of event as filter condition. This is evaluated with
      * [flags@RemoveFilterFlag].DEST_CHANNEL at call of [method@UserClient.remove_events].
      *
-     * Since: 0.3.
+     * Since: 0.3
      */
     seq_remove_filter_props[SEQ_REMOVE_FILTER_PROP_CHANNEL] =
         g_param_spec_uchar("channel", "channel",
@@ -166,7 +166,7 @@ static void alsaseq_remove_filter_class_init(ALSASeqRemoveFilterClass *klass)
      * The type of event as filter condition. This is evaluated with
      * [flags@RemoveFilterFlag].EVENT_TYPE at call of [method@UserClient.remove_events].
      *
-     * Since: 0.3.
+     * Since: 0.3
      */
     seq_remove_filter_props[SEQ_REMOVE_FILTER_PROP_EVENT_TYPE] =
         g_param_spec_enum("event-type", "event-type",
@@ -181,7 +181,7 @@ static void alsaseq_remove_filter_class_init(ALSASeqRemoveFilterClass *klass)
      * The tag of event as filter condition. This is evaluated with
      * [flags@RemoveFilterFlag].TAG_MATCH at call of [method@UserClient.remove_events].
      *
-     * Since: 0.3.
+     * Since: 0.3
      */
     seq_remove_filter_props[SEQ_REMOVE_FILTER_PROP_TAG] =
         g_param_spec_char("tag", "tag",
index bdda3395c7025289d0bf59310421a6c6f31e244d..e98ac0818fc4df1885c3dda90f5a40fcb3ac9d65 100644 (file)
@@ -124,7 +124,7 @@ static void alsaseq_subscribe_data_class_init(ALSASeqSubscribeDataClass *klass)
      *
      * The address of sender.
      *
-     * Since: 0.3.
+     * Since: 0.3
      */
     seq_subscribe_data_props[SEQ_SUBSCRIBE_DATA_PROP_SENDER] =
         g_param_spec_boxed("sender", "sender",
@@ -137,7 +137,7 @@ static void alsaseq_subscribe_data_class_init(ALSASeqSubscribeDataClass *klass)
      *
      * The address of destination.
      *
-     * Since: 0.3.
+     * Since: 0.3
      */
     seq_subscribe_data_props[SEQ_SUBSCRIBE_DATA_PROP_DEST] =
         g_param_spec_boxed("dest", "dest",
@@ -150,7 +150,7 @@ static void alsaseq_subscribe_data_class_init(ALSASeqSubscribeDataClass *klass)
      *
      * Whether the subscription can be changed by originator only,
      *
-     * Since: 0.3.
+     * Since: 0.3
      */
     seq_subscribe_data_props[SEQ_SUBSCRIBE_DATA_PROP_IS_EXCLUSIVE] =
         g_param_spec_boolean("is-exclusive", "is-exclusive",
@@ -163,7 +163,7 @@ static void alsaseq_subscribe_data_class_init(ALSASeqSubscribeDataClass *klass)
      *
      * Any event for the subscription has time stamp,
      *
-     * Since: 0.3.
+     * Since: 0.3
      */
     seq_subscribe_data_props[SEQ_SUBSCRIBE_DATA_PROP_HAS_TSTAMP] =
         g_param_spec_boolean("has-tstamp", "has-tstamp",
@@ -176,7 +176,7 @@ static void alsaseq_subscribe_data_class_init(ALSASeqSubscribeDataClass *klass)
      *
      * The type of time stamp. This is effective when the has-tstamp property enabled.
      *
-     * Since: 0.3.
+     * Since: 0.3
      */
     seq_subscribe_data_props[SEQ_SUBSCRIBE_DATA_PROP_TSTAMP_MODE] =
         g_param_spec_enum("tstamp-mode", "tstamp-mode",
@@ -192,7 +192,7 @@ static void alsaseq_subscribe_data_class_init(ALSASeqSubscribeDataClass *klass)
      * The numeric ID of queue to deliver. One of ALSASeqSpecificQueueId is available as well as
      * any numeric value.
      *
-     * Since: 0.3.
+     * Since: 0.3
      */
     seq_subscribe_data_props[SEQ_SUBSCRIBE_DATA_PROP_QUEUE_ID] =
         g_param_spec_uchar("queue-id", "queue-id",