summaryrefslogtreecommitdiff
path: root/gi/_gobject/constants.py
diff options
context:
space:
mode:
Diffstat (limited to 'gi/_gobject/constants.py')
-rw-r--r--gi/_gobject/constants.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gi/_gobject/constants.py b/gi/_gobject/constants.py
index 9565a662..5bb8665c 100644
--- a/gi/_gobject/constants.py
+++ b/gi/_gobject/constants.py
@@ -19,7 +19,8 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
# USA
-from . import _gobject
+import gi._gi
+_gobject = gi._gi._gobject
TYPE_INVALID = _gobject.TYPE_INVALID
TYPE_NONE = _gobject.type_from_name('void')