summaryrefslogtreecommitdiffstats
path: root/wineconfig/kcm_wineconfig.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'wineconfig/kcm_wineconfig.cpp')
-rw-r--r--wineconfig/kcm_wineconfig.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/wineconfig/kcm_wineconfig.cpp b/wineconfig/kcm_wineconfig.cpp
index 34e1230..a1f9a69 100644
--- a/wineconfig/kcm_wineconfig.cpp
+++ b/wineconfig/kcm_wineconfig.cpp
@@ -94,7 +94,7 @@ static TDECModule* return_instance( TQWidget *parent, const char *name ) {
// Call the factory function. Set up the args.
PyObject *pyParent = PyLong_FromVoidPtr(parent);
- PyObject *pyName = PyString_FromString(MODULE_NAME);
+ PyObject *pyName = PyBytes_FromString(MODULE_NAME);
// Using NN here is effect gives our references to the arguement away.
PyObject *args = Py_BuildValue ("NN", pyParent, pyName);
if(pyName && pyParent && args) {