[libadwaita/wip/exalm/gi-docgen: 2/4] animation: Convert docs




commit 16d07f41ec6dd456b7087aaa4d8c8774b589cec8
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Fri May 7 22:24:20 2021 +0500

    animation: Convert docs
    
    Remove (skip) from adw_lerp(), it's already private.

 src/adw-animation.c | 20 +++++---------------
 1 file changed, 5 insertions(+), 15 deletions(-)
---
diff --git a/src/adw-animation.c b/src/adw-animation.c
index eea34f7..78c32f3 100644
--- a/src/adw-animation.c
+++ b/src/adw-animation.c
@@ -8,16 +8,6 @@
 
 #include "adw-animation-private.h"
 
-/**
- * SECTION:adwanimation
- * @short_description: Animation helpers
- * @title: Animation Helpers
- *
- * Animation helpers.
- *
- * Since: 1.0
- */
-
 G_DEFINE_BOXED_TYPE (AdwAnimation, adw_animation, adw_animation_ref, adw_animation_unref)
 
 struct _AdwAnimation
@@ -215,10 +205,10 @@ adw_animation_get_widget (AdwAnimation *self)
 
 /**
  * adw_get_enable_animations:
- * @widget: a #GtkWidget
+ * @widget: a `GtkWidget`
  *
- * Returns whether animations are enabled for that widget. This should be used
- * when implementing an animated widget to know whether to animate it or not.
+ * Checks whether animations are enabled for @widget. This should be used when
+ * implementing an animated widget to know whether to animate it or not.
  *
  * Returns: %TRUE if animations are enabled for @widget.
  *
@@ -239,7 +229,7 @@ adw_get_enable_animations (GtkWidget *widget)
 }
 
 /**
- * adw_lerp: (skip)
+ * adw_lerp:
  * @a: the start
  * @b: the end
  * @t: the interpolation rate
@@ -266,7 +256,7 @@ adw_lerp (double a, double b, double t)
  *
  * Computes the ease out for @t.
  *
- * Returns: the ease out for @t.
+ * Returns: The ease out for @t.
  *
  * Since: 1.0
  */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]