X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fpython%2Fgfx.c;h=dafddfa0459a6959fc385e066164f93a337a3ad7;hb=2b2ec1b0157fcfb3a50358617c5277a494eb5182;hp=c9f3fa28fa1ce37b9a3257a96ad68f450f3ab2e7;hpb=5bfcb8ccd1c44cdea7d3438542b5fe50ec0760aa;p=swftools.git diff --git a/lib/python/gfx.c b/lib/python/gfx.c index c9f3fa2..dafddfa 100644 --- a/lib/python/gfx.c +++ b/lib/python/gfx.c @@ -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);