[pygobject] avoid dependency issue by importing the internal gobject
- From: John Palmieri <johnp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] avoid dependency issue by importing the internal gobject
- Date: Thu, 11 Aug 2011 12:49:16 +0000 (UTC)
commit 698b2284e29c0f699198cf6a22eeb0e399daba6e
Author: John (J5) Palmieri <johnp redhat com>
Date: Fri Jul 22 15:45:09 2011 -0400
avoid dependency issue by importing the internal gobject
https://bugzilla.gnome.org/show_bug.cgi?id=642048
gi/__init__.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gi/__init__.py b/gi/__init__.py
index 314d579..d4da310 100644
--- a/gi/__init__.py
+++ b/gi/__init__.py
@@ -24,7 +24,7 @@ from ._gi import _API, Repository
# Force loading the GObject typelib so we have available the wrappers for
# base classes such as GInitiallyUnowned
-from gi.repository import GObject
+import gi._gobject
_versions = {}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]