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

@ -379,10 +379,10 @@ foo_actor_paint (ClutterActor *actor)
* allocation or, if the actor has a fixed size, the size that
* 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 */
cogl_fill ();
cogl_path_fill ();
}
</programlisting>
</example>