Commit 058d944e authored by Simon Feltman's avatar Simon Feltman

Restore pygobject_version API needed for pygobject.h

Add gi._gobject.pygobject_version which was removed with commit:
This is needed for pygobject.h to function properly.
parent f3be4ced
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment