[meld] bin/meld: Remove support for outdated pygobject



commit 0725a2c4ce11ec6edeb0b81ca6963d32d4a29667
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Sat Sep 24 10:49:25 2016 +1000

    bin/meld: Remove support for outdated pygobject
    
    We probably haven't actually supported the documented release for a
    while, so just bump the requirement to match current GTK+.

 README   |    2 +-
 bin/meld |    3 ---
 2 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/README b/README
index 5295dd5..4c11b3d 100644
--- a/README
+++ b/README
@@ -19,7 +19,7 @@ Requirements
 * Python 2.7
 * GTK+ 3.14
 * GLib 2.36
-* PyGObject 3.8
+* PyGObject 3.14
 * GtkSourceView 3.14
 
 
diff --git a/bin/meld b/bin/meld
index 013ae70..f4dc4af 100755
--- a/bin/meld
+++ b/bin/meld
@@ -175,14 +175,11 @@ def check_requirements():
 
 
 def setup_resources():
-    from gi.repository import GObject
     from gi.repository import GLib
     from gi.repository import Gtk
     from gi.repository import Gdk
     from gi.repository import GtkSource
 
-    if GObject.pygobject_version <= (3, 11):
-        GObject.threads_init()
     icon_dir = os.path.join(meld.conf.DATADIR, "icons")
     Gtk.IconTheme.get_default().append_search_path(icon_dir)
 


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