summaryrefslogtreecommitdiff
path: root/gst/interfacesmodule.c
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2007-03-01 13:47:12 +0000
committerEdward Hervey <bilboed@bilboed.com>2007-03-01 13:47:12 +0000
commit78dc74984d24f8fcaf8c48c9e4eb04a5ed27d72a (patch)
tree46803611cdb3ac47237cf434bd58beff98b64a50 /gst/interfacesmodule.c
parentf545ee31ba07b211f15b984dbcc3a161ff0f55c8 (diff)
gst/interfacesmodule.c: initialize pygobject in the gst.interfaces modules. The absence of it causes segfaults on Sol...
Original commit message from CVS: reviewed by: Edward Hervey <edward@fluendo.com> * gst/interfacesmodule.c: (initinterfaces): initialize pygobject in the gst.interfaces modules. The absence of it causes segfaults on Solaris and MIPS machines. Fixes #343980
Diffstat (limited to 'gst/interfacesmodule.c')
-rw-r--r--gst/interfacesmodule.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/interfacesmodule.c b/gst/interfacesmodule.c
index 5defe84..42f89ff 100644
--- a/gst/interfacesmodule.c
+++ b/gst/interfacesmodule.c
@@ -38,6 +38,8 @@ initinterfaces (void)
{
PyObject *m, *d;
+ init_pygobject ();
+
m = Py_InitModule ("interfaces", pyinterfaces_functions);
d = PyModule_GetDict (m);