Hello,

I am new to clutter and I am using the SVN checkout and use Python
bindings. 

I am trying to write a program that uses telepathy (freedesktop project)
that uses the gobject main loop. I cannot seem to get it to work
correctly if I call clutter.main()

 

This is the excerpt:

 

    try:

        clutter.main()    # hitting Alt-f4 gives me a segfault

        # Need to do this for telepathy to process dbus messages

        #loop = gobject.MainLoop()

        #loop.run()

    except KeyboardInterrupt:

        print 'interrupted'

        pass

 

 

In the above program, if I call clutter.main(), telepathy simply refuses
to run. 

 

My theory is that both clutter.main() and gobject.MainLoop() eventually
get a new gobject main loop, but the path is different. I have a feeling
this is somehow due to some ugly Python problem, but if you have a clue
on why this happens, please let me know. 

 

Thanks,

Ashwin

 

 

Reply via email to