[kupfer] Revert "core: Call gtk.gdk.threads_init()"
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [kupfer] Revert "core: Call gtk.gdk.threads_init()"
- Date: Sat, 15 May 2010 10:00:06 +0000 (UTC)
commit fc2815b6d07507387d2d49766cb7698e04b74de0
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date: Sat May 15 11:57:44 2010 +0200
Revert "core: Call gtk.gdk.threads_init()"
This reverts commit 97fb77ece9312ad5dfe7239160806a2d083811b8.
kupfer/core/data.py | 1 +
kupfer/core/sources.py | 5 -----
2 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/kupfer/core/data.py b/kupfer/core/data.py
index afb8cd1..c4ee1e2 100644
--- a/kupfer/core/data.py
+++ b/kupfer/core/data.py
@@ -5,6 +5,7 @@ import operator
import os
import gobject
+gobject.threads_init()
from kupfer.obj import base, sources, compose
from kupfer import pretty, scheduler
diff --git a/kupfer/core/sources.py b/kupfer/core/sources.py
index ac93773..8471e91 100644
--- a/kupfer/core/sources.py
+++ b/kupfer/core/sources.py
@@ -10,11 +10,6 @@ import threading
import time
import weakref
-import glib
-import gtk
-glib.threads_init()
-gtk.gdk.threads_init()
-
from kupfer import config, pretty, scheduler
from kupfer import conspickle
from kupfer.obj import base, sources
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]