Le jeudi 31 décembre 2009 à 20:38 +1100, Peter Ward a écrit : 
> Package: python-evince
> Version: 2.28.0-5
> 
> I'm trying to write an application which makes use of both gstreamer
> and python-evince - in order to get gstreamer to work properly, I need
> to call gtk.gdk.threads_init() when importing modules.
> This unexpectedly causes problems when using a evince.View widget in
> presentation mode.
> 
> I have included below a short program which demonstrates the problem -
> I can reproduce this bug in both my desktop and my laptop.
> 
> 
> import gtk
> gtk.gdk.threads_init() # commenting out this line makes the problem go away.

Could you reply to the upstream bug report at
https://bugzilla.gnome.org/show_bug.cgi?id=606028 ?
Apparently the recommended code is gobject.threads_init() instead, but
I’d like to be sure this solution works for you.

Cheers, 
-- 
 .''`.      Josselin Mouette
: :' :
`. `'   “I recommend you to learn English in hope that you in
  `-     future understand things”  -- Jörg Schilling

Attachment: signature.asc
Description: Ceci est une partie de message numériquement signée

Reply via email to