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:
@ -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>
|
||||
|
Reference in New Issue
Block a user