[meld] bin/meld: Don't do deprecated thread initialisation
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld] bin/meld: Don't do deprecated thread initialisation
- Date: Mon, 22 Dec 2014 20:38:50 +0000 (UTC)
commit 4b3f5412bebaed2c4eb076a6d6dfd75c292d8982
Author: Kai Willadsen <kai willadsen gmail com>
Date: Tue Dec 23 06:29:58 2014 +1000
bin/meld: Don't do deprecated thread initialisation
bin/meld | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/bin/meld b/bin/meld
index 0691b9a..e60d303 100755
--- a/bin/meld
+++ b/bin/meld
@@ -178,7 +178,8 @@ def setup_resources():
from gi.repository import Gtk
from gi.repository import Gdk
- GObject.threads_init()
+ 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]