diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-05-27 11:21:02 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-05-27 11:21:02 +0800 |
commit | e4afd3f9fb962ea1295a0657ec9f83a427829171 (patch) | |
tree | 85d2cd048f634f344e287b55a8ed48116c21e987 /plugins/python | |
parent | 75a36a295adb64a012521c01724d6b2951986653 (diff) | |
download | gsoc2013-evolution-e4afd3f9fb962ea1295a0657ec9f83a427829171.tar.gz gsoc2013-evolution-e4afd3f9fb962ea1295a0657ec9f83a427829171.tar.zst gsoc2013-evolution-e4afd3f9fb962ea1295a0657ec9f83a427829171.zip |
Remove trailing whitespace, again.
Diffstat (limited to 'plugins/python')
-rw-r--r-- | plugins/python/python-plugin-loader.c | 12 | ||||
-rw-r--r-- | plugins/python/python-plugin-loader.h | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/plugins/python/python-plugin-loader.c b/plugins/python/python-plugin-loader.c index 5e7a83fb29..ea9ab4bfb0 100644 --- a/plugins/python/python-plugin-loader.c +++ b/plugins/python/python-plugin-loader.c @@ -10,7 +10,7 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with the program; if not, see <http://www.gnu.org/licenses/> + * License along with the program; if not, see <http://www.gnu.org/licenses/> * * * Authors: @@ -26,7 +26,7 @@ #include "python-plugin-loader.h" -#define d(x) +#define d(x) static void *epp_parent_class; @@ -84,17 +84,17 @@ epp_invoke(EPlugin *ep, const char *name, void *data) p->pDict = PyModule_GetDict(p->pModule); if (epp->pClass) { - p->pClass = PyDict_GetItemString(p->pDict, epp->pClass); + p->pClass = PyDict_GetItemString(p->pDict, epp->pClass); } } if (p->pClass) { - if (PyCallable_Check(p->pClass)) - pInstance = PyObject_CallObject(p->pClass, NULL); + if (PyCallable_Check(p->pClass)) + pInstance = PyObject_CallObject(p->pClass, NULL); pValue = PyObject_CallMethod(pInstance, name, NULL); - + } else { pFunc = PyDict_GetItemString(p->pDict, name); diff --git a/plugins/python/python-plugin-loader.h b/plugins/python/python-plugin-loader.h index 86e94d667b..4f9656e119 100644 --- a/plugins/python/python-plugin-loader.h +++ b/plugins/python/python-plugin-loader.h @@ -10,7 +10,7 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with the program; if not, see <http://www.gnu.org/licenses/> + * License along with the program; if not, see <http://www.gnu.org/licenses/> * * * Authors: |