[pygobject] Force loading the GObject typelib so we have available the wrappers for base classes such as GInitia



commit 3d72b8248cc534a689dee5679a729b2fba56c528
Author: Tomeu Vizoso <tomeu vizoso collabora co uk>
Date:   Wed Jun 23 12:26:02 2010 +0200

    Force loading the GObject typelib so we have available the wrappers for base classes such as GInitiallyUnowned.

 gi/__init__.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gi/__init__.py b/gi/__init__.py
index 3edea9f..fb711c3 100644
--- a/gi/__init__.py
+++ b/gi/__init__.py
@@ -22,3 +22,6 @@ from __future__ import absolute_import
 
 from ._gi import _API
 
+# Force loading the GObject typelib so we have available the wrappers for
+# base classes such as GInitiallyUnowned
+from gi.repository import GObject



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