[pygobject] Add missing GObject.TYPE_GTYPE



commit d1362451e070e156d2f49c9cde930cc38befb12b
Author: Martin Pitt <martinpitt gnome org>
Date:   Thu Apr 19 07:27:10 2012 +0200

    Add missing GObject.TYPE_GTYPE

 gi/_gobject/__init__.py  |    1 +
 gi/_gobject/constants.py |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gi/_gobject/__init__.py b/gi/_gobject/__init__.py
index 22241d9..8184130 100644
--- a/gi/_gobject/__init__.py
+++ b/gi/_gobject/__init__.py
@@ -176,6 +176,7 @@ TYPE_BOXED = constants.TYPE_BOXED
 TYPE_PARAM = constants.TYPE_PARAM
 TYPE_OBJECT = constants.TYPE_OBJECT
 TYPE_PYOBJECT = constants.TYPE_PYOBJECT
+TYPE_GTYPE = constants.TYPE_GTYPE
 TYPE_UNICHAR = constants.TYPE_UNICHAR
 G_MINFLOAT = constants.G_MINFLOAT
 G_MAXFLOAT = constants.G_MAXFLOAT
diff --git a/gi/_gobject/constants.py b/gi/_gobject/constants.py
index 9daaece..45234bc 100644
--- a/gi/_gobject/constants.py
+++ b/gi/_gobject/constants.py
@@ -43,6 +43,7 @@ TYPE_BOXED = _gobject.type_from_name('GBoxed')
 TYPE_PARAM = _gobject.type_from_name('GParam')
 TYPE_OBJECT = _gobject.type_from_name('GObject')
 TYPE_PYOBJECT = _gobject.type_from_name('PyObject')
+TYPE_GTYPE = _gobject.type_from_name('GType')
 TYPE_UNICHAR = TYPE_UINT
 
 # do a little dance to maintain API compatibility



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