[clutter] keyframe-transition: Documentation fixes
- From: Bastian Winkler <bwinkler src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter] keyframe-transition: Documentation fixes
- Date: Tue, 15 May 2012 15:42:12 +0000 (UTC)
commit 8a4489c48e19af071469e5bfbd492e5a94439ce2
Author: Bastian Winkler <buz netbuz org>
Date: Mon May 14 16:17:34 2012 +0200
keyframe-transition: Documentation fixes
Update the documentation to use the right symbols
https://bugzilla.gnome.org/show_bug.cgi?id=676032
clutter/clutter-keyframe-transition.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/clutter/clutter-keyframe-transition.c b/clutter/clutter-keyframe-transition.c
index e19ff56..5528d7f 100644
--- a/clutter/clutter-keyframe-transition.c
+++ b/clutter/clutter-keyframe-transition.c
@@ -42,10 +42,10 @@
* keyframe = clutter_keyframe_transition_new ("opacity");
* clutter_transition_set_from (keyframe, G_TYPE_UINT, 255);
* clutter_transition_set_to (keyframe, G_TYPE_UINT, 0);
- * clutter_keyframe_transition_set_keys (CLUTTER_KEYFRAME_TRANSITION (keyframe),
- * G_TYPE_UINT,
- * 1, /* number of key frames */
- * 0.5, 128, CLUTTER_EASE_IN_OUT_CUBIC);
+ * clutter_keyframe_transition_set (CLUTTER_KEYFRAME_TRANSITION (keyframe),
+ * G_TYPE_UINT,
+ * 1, /* number of key frames */
+ * 0.5, 128, CLUTTER_EASE_IN_OUT_CUBIC);
* ]|
*
* The example above sets up a keyframe transition for the #ClutterActor:opacity
@@ -551,7 +551,7 @@ clutter_keyframe_transition_set_modes (ClutterKeyframeTransition *transition,
* Sets the key frames of the @transition.
*
* This variadic arguments function is a convenience for C developers;
- * language bindings should use clutter_keyframe_transition_set_keys(),
+ * language bindings should use clutter_keyframe_transition_set_key_frames(),
* clutter_keyframe_transition_set_modes(), and
* clutter_keyframe_transition_set_values() instead.
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]