Try casting the group to clutter actor

CLUTTER_ACTOR(group1), and using that in the call.


>Can someone help me animate a group? I have this code:

>      clutter_actor_animate(&
group1,
>                             CLUTTER_LINEAR,
>                             1000,
>                             'x', (float)200,
>                             'y', (float)100,
>                             "rotation-angle-z", (float)360,
>                             NULL);

>but when I run it it says that group1 is not an actor. Removing the '&'
gives a segfault. Any help greatly appreciated,

>Matthew

Reply via email to