Ticket #3670: 0001-Remove-GObject-threads-SL-3670.patch

File 0001-Remove-GObject-threads-SL-3670.patch, 1.1 KB (added by manuq, 7 years ago)
  • webactivity.py

    From fe7fb355061862a3ca9256b2f59aa02fcafaddff Mon Sep 17 00:00:00 2001
    From: =?UTF-8?q?Manuel=20Qui=C3=B1ones?= <manuq@laptop.org>
    Date: Tue, 12 Jun 2012 10:04:39 -0300
    Subject: [PATCH Browse] Remove GObject threads - SL #3670
    MIME-Version: 1.0
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit
    Mail-Followup-To: <sugar-devel@lists.sugarlabs.org>
    
    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@laptop.org>
    ---
     webactivity.py |    3 ---
     1 file changed, 3 deletions(-)
    
    diff --git a/webactivity.py b/webactivity.py
    index d33913f..69ad5ec 100644
    a b from gettext import gettext as _ 
    2121from gettext import ngettext
    2222import os
    2323
    24 from gi.repository import GObject
    25 GObject.threads_init()
    26 
    2724from gi.repository import Gtk
    2825from gi.repository import Gdk
    2926from gi.repository import GdkPixbuf