From 607503ca43cf1f3dc20941b79d507f87e6d220cc Mon Sep 17 00:00:00 2001 From: Neil Roberts Date: Tue, 19 Aug 2008 10:55:49 +0000 Subject: [PATCH] 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(). --- ChangeLog | 12 ++++++++++++ clutter/clutter-score.c | 2 +- doc/reference/clutter/subclassing-ClutterActor.xml | 4 ++-- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index c02a24d80..2d1548ed2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +2008-08-19 Neil Roberts + + 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 Bug 1085 - Cursor is in wrong position on ClutterEntry if set diff --git a/clutter/clutter-score.c b/clutter/clutter-score.c index 0db3c8d2a..27243791a 100644 --- a/clutter/clutter-score.c +++ b/clutter/clutter-score.c @@ -52,7 +52,7 @@ * clutter_score_append (score, timeline_1, timeline_2); * 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, diff --git a/doc/reference/clutter/subclassing-ClutterActor.xml b/doc/reference/clutter/subclassing-ClutterActor.xml index 4fd6ea113..d71e8eae1 100644 --- a/doc/reference/clutter/subclassing-ClutterActor.xml +++ b/doc/reference/clutter/subclassing-ClutterActor.xml @@ -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 (); }