nobled
aece642adb
doc: fix clutter_init() usage in examples
...
Make sure users get the idea that clutter_init()
has a return value that needs to be checked.
These were fixed via sed magic:
sed -i -s -e "s/clutter_init (.*)/\
if (& != CLUTTER_INIT_SUCCESS)\n return 1/"\
doc/*/*/*.{c,xml} doc/*/*.xml
http://bugzilla.clutter-project.org/show_bug.cgi?id=2574
2011-02-28 14:10:05 +00:00
Elliot Smith
f9d2310b72
cookbook: Make example code C90 compliant
...
Modified all cookbook example code to prevent ISO C90 compliance
warnings occurring during compilation.
2010-11-12 10:18:31 +00:00
Emmanuele Bassi
6a95457b3f
cookbook: Remove unused variable from the animator example
2010-09-30 12:32:08 +01:00
Elliot Smith
34407c14b0
cookbook: Reduce complexity of sample ClutterAnimator code for recipe
...
http://bugzilla.clutter-project.org/show_bug.cgi?id=2341
Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
2010-09-24 14:48:53 +01:00
Elliot Smith
6307876552
cookbook: Example of animated movement with ClutterAnimator
...
Added an example showing how to randomly animate the
simultaneous movement on the x axis of three actors,
using ClutterAnimator.
2010-09-23 16:24:21 +01:00