Bug 1103 - Two typos in clutter documentation

* doc/reference/clutter/subclassing-ClutterActor.xml: Update the
	custom actor example since the Cogl API was changed to namespace
	all of the path related functions in cogl_path_*. Thanks to Nati
	Berkover.
	
	* clutter/clutter-score.c: Add missing parameter in example of
	calling clutter_score_start().
This commit is contained in:
Neil Roberts 2008-08-19 10:55:49 +00:00
parent 6b4a033efe
commit 607503ca43
3 changed files with 15 additions and 3 deletions

View File

@ -1,3 +1,15 @@
2008-08-19 Neil Roberts <neil@o-hand.com>
Bug 1103 - Two typos in clutter documentation
* doc/reference/clutter/subclassing-ClutterActor.xml: Update the
custom actor example since the Cogl API was changed to namespace
all of the path related functions in cogl_path_*. Thanks to Nati
Berkover.
* clutter/clutter-score.c: Add missing parameter in example of
calling clutter_score_start().
2008-08-18 Neil Roberts <neil@o-hand.com> 2008-08-18 Neil Roberts <neil@o-hand.com>
Bug 1085 - Cursor is in wrong position on ClutterEntry if set Bug 1085 - Cursor is in wrong position on ClutterEntry if set

View File

@ -52,7 +52,7 @@
* clutter_score_append (score, timeline_1, timeline_2); * clutter_score_append (score, timeline_1, timeline_2);
* clutter_score_append (score, timeline_1, timeline_3); * clutter_score_append (score, timeline_1, timeline_3);
* *
* clutter_score_start (); * clutter_score_start (score);
* ]| * ]|
* *
* A #ClutterScore takes a reference on the timelines it manages, * A #ClutterScore takes a reference on the timelines it manages,

View File

@ -379,10 +379,10 @@ foo_actor_paint (ClutterActor *actor)
* allocation or, if the actor has a fixed size, the size that * allocation or, if the actor has a fixed size, the size that
* has been set. * has been set.
*/ */
cogl_round_rectangle (0, 0, w, h, r, 5); cogl_path_round_rectangle (0, 0, w, h, r, 5);
/* and fill it with the current color */ /* and fill it with the current color */
cogl_fill (); cogl_path_fill ();
} }
</programlisting> </programlisting>
</example> </example>