I have a texture that I want to destroy, but the problem is that the whole application crashes after calling clutter_actor_destroy.

It worked fine under 0.4, but not under 0.5. If I change the actor to text there is no problem.

I have pasted a paraphrasing of the problem code -- the destroy is supposed to be in a callback after a timeline runs out. However, even if I hard code something almost exactly the same as what I included below, it still crashes when trying to destroy it.

Any ideas?


/"GdkPixbuf *pixb;
ClutterActor *explosion;
explosion=g_new0(ClutterActor,1);

pixb = gdk_pixbuf_new_from_file ("images/explosion.png", NULL);

explosion = clutter_texture_new_from_pixbuf (pixb);

clutter_group_add (CLUTTER_GROUP(stage), explosion);
clutter_actor_set_position (explosion, 200,300); clutter_actor_show (explosion); clutter_actor_destroy (explosion);"/
--
To unsubscribe send a mail to [EMAIL PROTECTED]

Reply via email to