diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-09-07 19:56:26 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-09-07 19:56:26 +0800 |
commit | ed0276dcddeeeef6169c17dfc55edaad93b6bcfc (patch) | |
tree | ec625467daa84d82ee5e5c4a789b74c236124d26 /plugins/python/python-plugin-loader.c | |
parent | 2ea4a284a6a4b68bde37ca6fe825b0a5f02a7f10 (diff) | |
download | gsoc2013-evolution-ed0276dcddeeeef6169c17dfc55edaad93b6bcfc.tar gsoc2013-evolution-ed0276dcddeeeef6169c17dfc55edaad93b6bcfc.tar.gz gsoc2013-evolution-ed0276dcddeeeef6169c17dfc55edaad93b6bcfc.tar.bz2 gsoc2013-evolution-ed0276dcddeeeef6169c17dfc55edaad93b6bcfc.tar.lz gsoc2013-evolution-ed0276dcddeeeef6169c17dfc55edaad93b6bcfc.tar.xz gsoc2013-evolution-ed0276dcddeeeef6169c17dfc55edaad93b6bcfc.tar.zst gsoc2013-evolution-ed0276dcddeeeef6169c17dfc55edaad93b6bcfc.zip |
Fix compiler warnings in python-plugin-loader.EVOLUTION_2_27_92
Diffstat (limited to 'plugins/python/python-plugin-loader.c')
-rw-r--r-- | plugins/python/python-plugin-loader.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/python/python-plugin-loader.c b/plugins/python/python-plugin-loader.c index 0a03809e97..458440d3af 100644 --- a/plugins/python/python-plugin-loader.c +++ b/plugins/python/python-plugin-loader.c @@ -20,9 +20,10 @@ * */ +#include <Python.h> + #include <sys/types.h> #include <string.h> -#include <Python.h> #include "python-plugin-loader.h" @@ -93,7 +94,7 @@ epp_invoke(EPlugin *ep, const gchar *name, gpointer data) if (PyCallable_Check(p->pClass)) pInstance = PyObject_CallObject(p->pClass, NULL); - pValue = PyObject_CallMethod(pInstance, name, NULL); + pValue = PyObject_CallMethod(pInstance, (gchar *) name, NULL); } else { |