On Tue, Aug 11, 2009 at 7:48 AM, Yaser Hameed (RBEI/ECA3)<[email protected]> wrote: > Hi > > I think you have to initialize the > GError *error = NULL before using it. I think this can be your problem..wild > guess!!
I tried that. But I think its a threading problem on my side because I tried the same code in another thread and it worked. So if I call clutter_texture_set_from_file in the other thread instead of clutter_texture_new_from_file in that thread then it doesn't segfault. Thanks for the reply Yaser Just a question on threading in clutter: I think I read something in the mailing list about only having clutter calls in the main thread or something to that effect, and I saw an example where they used clutter_threads_enter and clutter_threads_exit. If I need to make clutter calls in a different thread do I just use those calls at the beginning and the end of each threaded function? Regards, Filipe > > > Best Regards > > Yaser S Hameed > > > > > -----Original Message----- > From: Filipe Nepomuceno [mailto:[email protected]] > Sent: Monday, 10. August 2009 7:26 PM > To: [email protected] > Subject: [clutter] ClutterTexture problems > > Hey guys, > > I'm trying to create a ClutterTexture but whenever I specify a valid > filename it segfaults but when I specify an invalid one it sets the > error up correctly. Any ideas? > > I can show you my code if you want but I just took everything straight > from the API. > > Regards, > Filipe > -- > To unsubscribe send a mail to [email protected] > > -- To unsubscribe send a mail to [email protected]
