[gnome-shell/wip/gdm-shell: 8/16] StAdjustment: Document interpolate method



commit 55a4e6f04d3e5a81425962aedccd59d23c1841ec
Author: Ray Strode <rstrode redhat com>
Date:   Mon Aug 22 18:03:38 2011 -0400

    StAdjustment: Document interpolate method
    
    st_adjustment_interpolate() currently lacks a doc string.
    
    This commit adds one.

 src/st/st-adjustment.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/src/st/st-adjustment.c b/src/st/st-adjustment.c
index 43fb615..c519aac 100644
--- a/src/st/st-adjustment.c
+++ b/src/st/st-adjustment.c
@@ -702,6 +702,15 @@ interpolation_completed_cb (ClutterTimeline *timeline,
    }
  */
 
+/**
+ * st_adjustment_interpolate:
+ * @adjustment: a #StAdjustment
+ * @alpha: (allow-none): a #ClutterAlpha to control interpolation
+ * @value: end value
+ * @duration: how long to animate before reaching @value
+ *
+ * Animate to @value over the course of @duration milliseconds.
+ */
 void
 st_adjustment_interpolate (StAdjustment *adjustment,
                            ClutterAlpha *alpha,



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