[Sugar-devel] [PATCH Browse] Remove GObject threads - SL #3670

Simon Schampijer simon at schampijer.de
Wed Jun 13 07:10:22 EDT 2012


Great, I think we can remove it indeed. It fixes the non-clean
shutdown of the activity. What would be great here is testing, so we
don't oversee an issue. Running our non-existing browse-smoke-test...:)

Regards,
    Simon

On 06/12/2012 03:19 PM, Manuel Quiñones wrote:
> Having GObject threads is provoking segmentation faults.  They were
> added previous to the GTK3 port to solve this bug:
>
> http://dev.laptop.org/ticket/5639
>
> which I can't reproduce anymore having threads removed.
>
> Signed-off-by: Manuel Quiñones<manuq at laptop.org>
> ---
>   webactivity.py |    3 ---
>   1 file changed, 3 deletions(-)
>
> diff --git a/webactivity.py b/webactivity.py
> index d33913f..69ad5ec 100644
> --- a/webactivity.py
> +++ b/webactivity.py
> @@ -21,9 +21,6 @@ from gettext import gettext as _
>   from gettext import ngettext
>   import os
>
> -from gi.repository import GObject
> -GObject.threads_init()
> -
>   from gi.repository import Gtk
>   from gi.repository import Gdk
>   from gi.repository import GdkPixbuf



More information about the Sugar-devel mailing list