Commit 47b5bdcd authored by Jean-Samuel Reynaud's avatar Jean-Samuel Reynaud Committed by Dick Hollenbeck

Fix a mismatch between method signature in scripting/python_scripting.cpp and...

Fix a mismatch between method signature in scripting/python_scripting.cpp and scripting/python_scripting.h
parent 04492587
...@@ -483,9 +483,7 @@ void IFACE::OnKifaceEnd() ...@@ -483,9 +483,7 @@ void IFACE::OnKifaceEnd()
// wxPython will do its own cleanup as part of that process. // wxPython will do its own cleanup as part of that process.
// This should only be called if python was setup correctly. // This should only be called if python was setup correctly.
/* bring this in, but without a linker error:
pcbnewFinishPythonScripting(); pcbnewFinishPythonScripting();
*/
#endif #endif
} }
...@@ -172,7 +172,7 @@ bool pcbnewInitPythonScripting( const char * aUserPluginsPath ) ...@@ -172,7 +172,7 @@ bool pcbnewInitPythonScripting( const char * aUserPluginsPath )
} }
void pcbnewFinishPythonScripting( char ) void pcbnewFinishPythonScripting()
{ {
#ifdef KICAD_SCRIPTING_WXPYTHON #ifdef KICAD_SCRIPTING_WXPYTHON
wxPyEndAllowThreads( g_PythonMainTState ); wxPyEndAllowThreads( g_PythonMainTState );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment