[pygobject] Restore pygobject_version API needed for pygobject.h



commit 058d944e3b9ef9157e912e6374b54a2eb5f7f5d1
Author: Simon Feltman <sfeltman src gnome org>
Date:   Mon Feb 3 06:45:09 2014 -0800

    Restore pygobject_version API needed for pygobject.h
    
    Add gi._gobject.pygobject_version which was removed with commit:
    https://git.gnome.org/browse/pygobject/commit/?id=2624bd2b
    This is needed for pygobject.h to function properly.

 gi/_gobject/__init__.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gi/_gobject/__init__.py b/gi/_gobject/__init__.py
index d559e74..dd5217d 100644
--- a/gi/_gobject/__init__.py
+++ b/gi/_gobject/__init__.py
@@ -22,3 +22,4 @@
 # Needed for compatibility with "pygobject.h"
 import gi._gi
 _PyGObject_API = gi._gi._gobject._PyGObject_API
+pygobject_version = gi._gi._gobject.pygobject_version


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