[orca] Remove deprecated calls to GLib and GObject threads_init
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Remove deprecated calls to GLib and GObject threads_init
- Date: Thu, 5 Sep 2013 16:27:16 +0000 (UTC)
commit 992a290dfc3340e657a9579a67656f6e2f6d94ff
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Thu Sep 5 12:25:34 2013 -0400
Remove deprecated calls to GLib and GObject threads_init
src/orca/braille.py | 3 ---
src/orca/scripts/apps/gnome-search-tool/script.py | 3 ---
2 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/src/orca/braille.py b/src/orca/braille.py
index 93c399d..da3f247 100644
--- a/src/orca/braille.py
+++ b/src/orca/braille.py
@@ -37,9 +37,6 @@ log = logging.getLogger("braille")
import signal
import os
-from gi.repository import GLib
-GLib.threads_init()
-
try:
import louis
except ImportError:
diff --git a/src/orca/scripts/apps/gnome-search-tool/script.py
b/src/orca/scripts/apps/gnome-search-tool/script.py
index 9730819..9446f4f 100644
--- a/src/orca/scripts/apps/gnome-search-tool/script.py
+++ b/src/orca/scripts/apps/gnome-search-tool/script.py
@@ -34,9 +34,6 @@ from orca.orca_i18n import _
import pyatspi
import time
from gi.repository import GLib
-from gi.repository import GObject
-GObject.threads_init()
-
########################################################################
# #
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]