From 8715df4ab022b8a53ca1365de8b92ab6708d272c Mon Sep 17 00:00:00 2001 From: Jean-Samuel Reynaud Date: Fri, 28 Mar 2014 07:27:58 -0500 Subject: [PATCH] Fix a mismatch between method signature in scripting/python_scripting.cpp and scripting/python_scripting.h --- pcbnew/pcbnew.cpp | 2 -- scripting/python_scripting.cpp | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/pcbnew/pcbnew.cpp b/pcbnew/pcbnew.cpp index 32b1569589..a8eac6b21a 100644 --- a/pcbnew/pcbnew.cpp +++ b/pcbnew/pcbnew.cpp @@ -483,9 +483,7 @@ void IFACE::OnKifaceEnd() // wxPython will do its own cleanup as part of that process. // This should only be called if python was setup correctly. -/* bring this in, but without a linker error: pcbnewFinishPythonScripting(); -*/ #endif } diff --git a/scripting/python_scripting.cpp b/scripting/python_scripting.cpp index 31a725d8e8..494195cf3d 100644 --- a/scripting/python_scripting.cpp +++ b/scripting/python_scripting.cpp @@ -172,7 +172,7 @@ bool pcbnewInitPythonScripting( const char * aUserPluginsPath ) } -void pcbnewFinishPythonScripting( char ) +void pcbnewFinishPythonScripting() { #ifdef KICAD_SCRIPTING_WXPYTHON wxPyEndAllowThreads( g_PythonMainTState );