Document that this will be available only in GTK 4.10
authorLukáš Tyrychtr <lukastyrychtr@gmail.com>
Mon, 19 Sep 2022 14:40:03 +0000 (16:40 +0200)
committerLukáš Tyrychtr <lukastyrychtr@gmail.com>
Thu, 29 Sep 2022 07:36:09 +0000 (09:36 +0200)
gtk/gtkaccessiblerange.c
gtk/gtkaccessiblerange.h

index 228899964f2afc4161298897f0f1c1438d2e669a..a99d2b6a30063adabdd38465e795c690c3efecdc 100644 (file)
@@ -36,6 +36,8 @@
  * For controls where a minimum increment makes no sense and which do not allow\r
  * setting the current value from the user, the default implementation of this\r
  * interface suffices.\r
+ *\r
+ * Since: 4.10\r
  */\r
 \r
 #include "config.h"\r
@@ -70,6 +72,8 @@ gtk_accessible_range_default_init (GtkAccessibleRangeInterface *iface)
  * Returns the minimum increment which this `GtkAccessibleRange` supports.\r
  *\r
  * Returns: the minimum increment, or 0.0 if not overridden\r
+ *\r
+ * Since: 4.10\r
  */\r
 double\r
 gtk_accessible_range_get_minimum_increment (GtkAccessibleRange *self)\r
@@ -83,11 +87,13 @@ gtk_accessible_range_get_minimum_increment (GtkAccessibleRange *self)
  * gtk_accessible_range_set_current_value:\r
  * @self: a `GtkAccessibleRange`\r
  *\r
- * Sets the current value of this `GtkAccessibleRange`.\r
+ * Sets the current value of this `GtkAccessibleRange` to @value.\r
  * Note that for some widgets implementing this interface, setting a value\r
  * through the accessibility API makes no sense, so calling this function may\r
  * in some cases do nothing.\r
  * @returns: %true if the call changed the value, %false otherwise\r
+ *\r
+ * Since: 4.10\r
  */\r
 gboolean\r
 gtk_accessible_range_set_current_value (GtkAccessibleRange *self, double value)\r
index 317bcf39b973ce87d7902493ad86e44ba39fb99e..c825d6132d5616dc2d642e6a173b3c572ecacf2f 100644 (file)
@@ -44,7 +44,9 @@ struct _GtkAccessibleRangeInterface
    * Returns the minimum increment for this `GtkAccessibleRange`.\r
    * The default implementation returns 0.0, which indicates that a minimum\r
    * increment does not make sense for this implementation.\r
-   * @returns: the minimum increment\r
+   * Returns: the minimum increment\r
+   * \r
+   * Since: 4.10\r
    */\r
   double (* get_minimum_increment) (GtkAccessibleRange *self);\r
   /**\r
@@ -54,7 +56,9 @@ struct _GtkAccessibleRangeInterface
    * \r
    * Sets the current value of @self to @value.\r
    * This operation should behave similarly as if the user performed the action.\r
-   * @returns: %true if the operation was performed, %false otherwise\r
+   * Returns: %true if the operation was performed, %false otherwise\r
+   *\r
+   * Since: 4.10\r
    */\r
   gboolean (* set_current_value) (GtkAccessibleRange *self, double value);\r
 };\r