On Wed, Jun 18, 2008 at 01:58:50PM +0800, HASWANI HARISH-VCKR47 wrote: > > Hi All, > > Here is my confusion : ptr is an actor, which is added to stage. > Later on unreferenced and initialized with new texture. After adding new > texture, I am adding again this ptr to stage. > Here is code: > > > ClutterActor *ptr=clutter_texture_new_from_pixbuf(pixbuf); > . > . > . > g_object_unref(G_OBJECT(ptr)) > ptr=clutter_texture_new_from_pixbuf(pixbuf1); > > > Issue : when I am executing this piece of code. I am getting this error: > (./test-behave:530): Clutter-CRITICAL **: clutter_actor_paint: assertion > `CLUTTE > R_IS_ACTOR (self)' failed > > Please tell me where I am goofing up.
I think you must use clutter_actor_destroy instead of g_object_unref. > Regards, > Harish Haswani, Cheers Mike -- To unsubscribe send a mail to [EMAIL PROTECTED]