]> git.alsa-project.org Git - alsa-gobject.git/commitdiff
ctl: optimize to gi-docgen 2023.3
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Fri, 15 Mar 2024 06:14:53 +0000 (15:14 +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/ctl/elem-info-common.c
src/ctl/elem-info-enumerated.c
src/ctl/elem-info-integer.c
src/ctl/elem-info-integer64.c
src/ctl/elem-info-single-array.c

index 4ac6b0b3e4be3ada6bb464e104dd3cac225284d4..4fcd1952a64d98bcb0fd1e88d9091a6a38654c31 100644 (file)
@@ -7,7 +7,7 @@
  *
  * A [iface@ElemInfoCommon] should be implemented by any type of element information.
  *
- * Since: 0.3.
+ * Since: 0.3
  */
 
 static void alsactl_elem_info_common_default_init(ALSACtlElemInfoCommonInterface *iface);
@@ -21,7 +21,7 @@ static void alsactl_elem_info_common_default_init(ALSACtlElemInfoCommonInterface
      *
      * The identifier of element.
      *
-     * Since: 0.3.
+     * Since: 0.3
      */
     g_object_interface_install_property(iface,
         g_param_spec_boxed(ELEM_ID_PROP_NAME, ELEM_ID_PROP_NAME,
@@ -34,7 +34,7 @@ static void alsactl_elem_info_common_default_init(ALSACtlElemInfoCommonInterface
      *
      * The type of element, one of [enum@ElemType].
      *
-     * Since: 0.3.
+     * Since: 0.3
      */
     g_object_interface_install_property(iface,
         g_param_spec_enum(ELEM_TYPE_PROP_NAME, ELEM_TYPE_PROP_NAME,
@@ -48,7 +48,7 @@ static void alsactl_elem_info_common_default_init(ALSACtlElemInfoCommonInterface
      *
      * The access permission for the element with [flags@ElemAccessFlag].
      *
-     * Since: 0.3.
+     * Since: 0.3
      */
     g_object_interface_install_property(iface,
         g_param_spec_flags(ACCESS_PROP_NAME, ACCESS_PROP_NAME,
@@ -62,7 +62,7 @@ static void alsactl_elem_info_common_default_init(ALSACtlElemInfoCommonInterface
      *
      * The value of PID for process to own the element.
      *
-     * Since: 0.3.
+     * Since: 0.3
      */
     g_object_interface_install_property(iface,
         g_param_spec_int(OWNER_PROP_NAME, OWNER_PROP_NAME,
index 052a63c2322073c31cc77f3ef5d79e22e99e789c..18cf652795734a700a3ed5bdc03c39f110c2bf11 100644 (file)
@@ -91,7 +91,7 @@ static void alsactl_elem_info_enumerated_class_init(ALSACtlElemInfoEnumeratedCla
      *  - The length of label including terminator should be within 64 bytes.
      *  - The total length of labels including terminators should be within (64 * 1024) bytes.
      *
-     * Since: 0.3.
+     * Since: 0.3
      */
     g_object_class_install_property(gobject_class, ELEM_INFO_ENUMERATED_PROP_LABELS,
         g_param_spec_boxed("labels", "labels",
index 21609bd152e29f21649e5f6476393bb1cf041e75..e01090b6113d178adccf231e902e8724ba59bef7 100644 (file)
@@ -90,7 +90,7 @@ static void alsactl_elem_info_integer_class_init(ALSACtlElemInfoIntegerClass *kl
      *
      * The minimum value of element in value array for the element.
      *
-     * Since: 0.3.
+     * Since: 0.3
      */
     g_object_class_install_property(gobject_class, ELEM_INFO_INTEGER_PROP_MIN,
         g_param_spec_int("value-min", "value-min",
@@ -103,7 +103,7 @@ static void alsactl_elem_info_integer_class_init(ALSACtlElemInfoIntegerClass *kl
      *
      * The maximum value of element in value array for the element.
      *
-     * Since: 0.3.
+     * Since: 0.3
      */
     g_object_class_install_property(gobject_class, ELEM_INFO_INTEGER_PROP_MAX,
         g_param_spec_int("value-max", "value-max",
@@ -116,7 +116,7 @@ static void alsactl_elem_info_integer_class_init(ALSACtlElemInfoIntegerClass *kl
      *
      * The step value of element in value array for the element.
      *
-     * Since: 0.3.
+     * Since: 0.3
      */
     g_object_class_install_property(gobject_class, ELEM_INFO_INTEGER_PROP_STEP,
         g_param_spec_int("value-step", "value-step",
index 9224e6f8f5cd22e103aa5bae0be10efbd417a826..faba39791ddd237268442e73c29e605cdd8f00bc 100644 (file)
@@ -90,7 +90,7 @@ static void alsactl_elem_info_integer64_class_init(ALSACtlElemInfoInteger64Class
      *
      * The minimum value of element in value array for the element.
      *
-     * Since: 0.3.
+     * Since: 0.3
      */
     g_object_class_install_property(gobject_class, ELEM_INFO_INTEGER64_PROP_MIN,
         g_param_spec_int64("value-min", "value-min",
@@ -103,7 +103,7 @@ static void alsactl_elem_info_integer64_class_init(ALSACtlElemInfoInteger64Class
      *
      * The maximum value of element in value array for the element.
      *
-     * Since: 0.3.
+     * Since: 0.3
      */
     g_object_class_install_property(gobject_class, ELEM_INFO_INTEGER64_PROP_MAX,
         g_param_spec_int64("value-max", "value-max",
@@ -116,7 +116,7 @@ static void alsactl_elem_info_integer64_class_init(ALSACtlElemInfoInteger64Class
      *
      * The step value of element in value array for the element.
      *
-     * Since: 0.3.
+     * Since: 0.3
      */
     g_object_class_install_property(gobject_class, ELEM_INFO_INTEGER64_PROP_STEP,
         g_param_spec_int64("value-step", "value-step",
index 37343f4bf269a8436c5b2a48cbc43ae3b4426dff..e1f85ec610b3014c8231f054aa10eb72e8bf9f72 100644 (file)
@@ -8,7 +8,7 @@
  * A [iface@ElemInfoSingleArray] should be implemented by the type of information for element
  * whieh has single value array.
  *
- * Since: 0.3.
+ * Since: 0.3
  */
 
 static void alsactl_elem_info_single_array_default_init(ALSACtlElemInfoSingleArrayInterface *iface);
@@ -23,7 +23,7 @@ static void alsactl_elem_info_single_array_default_init(ALSACtlElemInfoSingleArr
      *
      * The count of elements in value array of the element.
      *
-     * Since: 0.3.
+     * Since: 0.3
      */
     g_object_interface_install_property(iface,
         g_param_spec_uint(VALUE_COUNT_PROP_NAME, VALUE_COUNT_PROP_NAME,