From: Lukáš Tyrychtr Date: Mon, 19 Sep 2022 14:40:03 +0000 (+0200) Subject: Document that this will be available only in GTK 4.10 X-Git-Tag: archive/raspbian/4.12.3+ds-1+rpi1~1^2^2^2~22^2~9^2~202^2~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7fb892460a9797fbedb212caf4b98dbaee7fa41d;p=gtk4.git Document that this will be available only in GTK 4.10 --- diff --git a/gtk/gtkaccessiblerange.c b/gtk/gtkaccessiblerange.c index 228899964f..a99d2b6a30 100644 --- a/gtk/gtkaccessiblerange.c +++ b/gtk/gtkaccessiblerange.c @@ -36,6 +36,8 @@ * For controls where a minimum increment makes no sense and which do not allow * setting the current value from the user, the default implementation of this * interface suffices. + * + * Since: 4.10 */ #include "config.h" @@ -70,6 +72,8 @@ gtk_accessible_range_default_init (GtkAccessibleRangeInterface *iface) * Returns the minimum increment which this `GtkAccessibleRange` supports. * * Returns: the minimum increment, or 0.0 if not overridden + * + * Since: 4.10 */ double gtk_accessible_range_get_minimum_increment (GtkAccessibleRange *self) @@ -83,11 +87,13 @@ gtk_accessible_range_get_minimum_increment (GtkAccessibleRange *self) * gtk_accessible_range_set_current_value: * @self: a `GtkAccessibleRange` * - * Sets the current value of this `GtkAccessibleRange`. + * Sets the current value of this `GtkAccessibleRange` to @value. * Note that for some widgets implementing this interface, setting a value * through the accessibility API makes no sense, so calling this function may * in some cases do nothing. * @returns: %true if the call changed the value, %false otherwise + * + * Since: 4.10 */ gboolean gtk_accessible_range_set_current_value (GtkAccessibleRange *self, double value) diff --git a/gtk/gtkaccessiblerange.h b/gtk/gtkaccessiblerange.h index 317bcf39b9..c825d6132d 100644 --- a/gtk/gtkaccessiblerange.h +++ b/gtk/gtkaccessiblerange.h @@ -44,7 +44,9 @@ struct _GtkAccessibleRangeInterface * Returns the minimum increment for this `GtkAccessibleRange`. * The default implementation returns 0.0, which indicates that a minimum * increment does not make sense for this implementation. - * @returns: the minimum increment + * Returns: the minimum increment + * + * Since: 4.10 */ double (* get_minimum_increment) (GtkAccessibleRange *self); /** @@ -54,7 +56,9 @@ struct _GtkAccessibleRangeInterface * * Sets the current value of @self to @value. * This operation should behave similarly as if the user performed the action. - * @returns: %true if the operation was performed, %false otherwise + * Returns: %true if the operation was performed, %false otherwise + * + * Since: 4.10 */ gboolean (* set_current_value) (GtkAccessibleRange *self, double value); };