summaryrefslogtreecommitdiff
path: root/pangomodule.c
diff options
context:
space:
mode:
authorJohan Dahlin <johan@src.gnome.org>2006-07-25 21:32:57 +0000
committerJohan Dahlin <johan@src.gnome.org>2006-07-25 21:32:57 +0000
commit2fd19e1af8e90cf19e7b2dce604c91625e5d8a05 (patch)
tree377f109e83d71e6c1db617a69c9c1cece33e5258 /pangomodule.c
parent46b2be22b15ae687835a4144ab33f49c59adb73a (diff)
downloadpygtk-2fd19e1af8e90cf19e7b2dce604c91625e5d8a05.tar.gz
Check the required PyGObject version in runtime too.
* gtk/gtkmodule.c (init_gtk): * pangomodule.c (initpango): Check the required PyGObject version in runtime too.
Diffstat (limited to 'pangomodule.c')
-rw-r--r--pangomodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pangomodule.c b/pangomodule.c
index eb2ee435..439a86b9 100644
--- a/pangomodule.c
+++ b/pangomodule.c
@@ -63,7 +63,7 @@ initpango(void)
m = Py_InitModule("pango", pypango_functions);
d = PyModule_GetDict(m);
- init_pygobject();
+ init_pygobject_check(2, 11, 1);
/* set the default python encoding to utf-8 */
PyUnicode_SetDefaultEncoding("utf-8");