fixed pdfdriver function call
authorkramm <kramm>
Fri, 9 Nov 2007 10:23:25 +0000 (10:23 +0000)
committerkramm <kramm>
Fri, 9 Nov 2007 10:23:25 +0000 (10:23 +0000)
lib/python/gfx.c

index c9f3fa2..dafddfa 100644 (file)
@@ -382,7 +382,7 @@ static PyObject* f_open(PyObject* parent, PyObject* args, PyObject* kwargs)
     DocObject*self = PyObject_New(DocObject, &DriverClass);
    
     if(!strcmp(type,"pdf"))
-       self->doc = pdfdriver->open(filename);
+       self->doc = pdfdriver->open(pdfdriver,filename);
     else
        return PY_ERROR("Unknown type %s", type);