summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 16:20:52 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 16:20:52 -0600
commitcfd4d70fae90b96e79f8b2b7f53dbc1e059e19a4 (patch)
tree55e6d0ffb540aa48e2a50ec1b21148c827f498c7
parent84fba9037b6e998250f30968b0d9c79a6af4637a (diff)
downloadpytdeextensions-cfd4d70fae90b96e79f8b2b7f53dbc1e059e19a4.tar.gz
pytdeextensions-cfd4d70fae90b96e79f8b2b7f53dbc1e059e19a4.zip
Fix FTBFS resulting from KCModule rename
-rw-r--r--src/kdedistutils.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/kdedistutils.py b/src/kdedistutils.py
index 7af6a21..8b5eb0d 100644
--- a/src/kdedistutils.py
+++ b/src/kdedistutils.py
@@ -870,7 +870,7 @@ class BuildKControlModule(Command):
// pythonize.h must be included first.
#include <pythonize.h>
-#include <kcmodule.h>
+#include <tdecmodule.h>
#include <kglobal.h>
#include <klocale.h>
#include <klibloader.h>
@@ -892,7 +892,7 @@ static TDECModule *report_error(char *msg) {
}
static TDECModule* return_instance( QWidget *parent, const char *name ) {
- TDECModule* kcmodule;
+ TDECModule* tdecmodule;
PyObject *pyTDECModuleTuple;
PyObject *pyTDECModule;
Pythonize *pyize; // Pythonize object to manage the Python interpreter.
@@ -975,8 +975,8 @@ static TDECModule* return_instance( QWidget *parent, const char *name ) {
// convert the TDECModule PyObject to a real C++ TDECModule *.
isErr = 0;
pyTDECModule = PyTuple_GET_ITEM(pyTDECModuleTuple,1);
- kcmodule = (TDECModule *)PyLong_AsVoidPtr(pyTDECModule);
- if(!kcmodule) {
+ tdecmodule = (TDECModule *)PyLong_AsVoidPtr(pyTDECModule);
+ if(!tdecmodule) {
return report_error ("***failed sip conversion to C++ pointer\n");
}
pyize->decref(pyTDECModuleTuple);
@@ -991,7 +991,7 @@ static TDECModule* return_instance( QWidget *parent, const char *name ) {
TDEGlobal::locale()->insertCatalogue(script);
// Return the pointer to our new TDECModule
- return kcmodule;
+ return tdecmodule;
}
extern "C" {