[gnome-sudoku] Stop using GObject.threads_init()



commit e935ca5712e50d1b09355de8fef5bfd88c3fd9d8
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sun Jan 12 11:33:50 2014 -0600

    Stop using GObject.threads_init()
    
    Resolves a PyGTKDeprecationWarning

 src/lib/main.py |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/lib/main.py b/src/lib/main.py
index f0ea876..5243780 100644
--- a/src/lib/main.py
+++ b/src/lib/main.py
@@ -970,10 +970,6 @@ def start_game ():
     # Quick fix for bug #703169
     signal.signal(signal.SIGINT, signal.SIG_DFL)
 
-    ##  You must call g_thread_init() before executing any other GLib
-    ##  functions in a threaded GLib program.
-    GObject.threads_init()
-
     if options.profile:
         options.profile = False
         profile_me()


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]