pygst: Get the _PyGst_API symbol from the proper module

https://bugzilla.gnome.org/show_bug.cgi?id=634365
This commit is contained in:
Edward Hervey 2010-11-09 10:57:31 +01:00
parent be08aac982
commit ee647847f3

View file

@ -52,7 +52,7 @@ pygst_init(void)
{
PyObject *gstobject, *cobject;
gstobject = PyImport_ImportModule("_gst");
gstobject = PyImport_ImportModule("gst._gst");
if (!gstobject) {
if (PyErr_Occurred())
{