On Fri, 2008-08-01 at 14:39 +0200, Bastian Winkler wrote:
> Hi Emmanuele,
> 
> as a short note, since the latest changes to pyclutter introduced in
> svn r3205 importing the integration libraries segfaults with cluttergst
> and cluttergtk. Importing cluttercairo works as expected.

you might want to check out r3215 (current trunk).

the way the submodules are imported has been changed because of the
changes in the underlying C libraries required an overhaul of the Python
modules.

you need to import using:

  import cluttergst
  import cluttergtk
  import cluttercairo

the order is also relevant, because cluttergst and cluttergtk have their
own initialization function that must be called in place of
clutter_init(). so, if you are using cluttergst and/or cluttergtk, the
correct import order is:

  first ^
        | import cluttergtk
        | import cluttergst
        | import clutter
        | import cluttercairo
   last v

I'm in the process or writing the pyclutter release notes detailing this
as well.

+++

if you mean that event after the changes your application segfaults,
then a backtrace would be fantastic.

ciao,
 Emmanuele.

-- 
Emmanuele Bassi, OpenedHand Ltd.
Unit R, Homesdale Business Centre
216-218 Homesdale Rd., Bromley - BR12QZ
http://www.o-hand.com

-- 
To unsubscribe send a mail to [EMAIL PROTECTED]

Reply via email to