Bug#563140: application freezes in presentation mode if gtk.gdk.threads_init is called

Josselin Mouette joss at debian.org
Mon Jan 4 17:55:37 UTC 2010


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: Ceci est une partie de message num?riquement sign?e
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20100104/40d3cf4d/attachment.pgp>


More information about the pkg-gnome-maintainers mailing list