Subversion Repositories Scribus

Compare Revisions

Regard whitespace Rev 1746 → Rev 1747

/branches/Version13x/Scribus/scribus/plugins/scriptplugin/scriptplugin.cpp
135,9 → 135,9
}
Carrier = plug;
RetVal = 0;
initscribus(Carrier);
 
scripterCore = new ScripterCore(d);
initscribus(Carrier);
}
 
void cleanUpPlug()
384,6 → 384,11
 
void initscribus(ScribusApp *pl)
{
if (!scripterCore)
{
qWarning("scriptplugin: Tried to init scribus module, but no scripter core. Aborting.");
return;
}
PyObject *m, *d;
PyImport_AddModule((char*)"scribus");
PyType_Ready(&Printer_Type);