commit 8617c2715305c5711da997f6cfde70a18a517a96
parent c6ac8058d4662ebe84b2e368fb358a6541a9d20f
Author: Holger Berndt <hb@claws-mail.org>
Date: Sat, 27 Jul 2013 13:12:25 +0200
Python plugin: Remove unused account methods
Diffstat:
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/src/plugins/python/accounttype.c b/src/plugins/python/accounttype.c
@@ -75,10 +75,6 @@ static PyObject* get_address(clawsmail_AccountObject *self, void *closure)
return self->address;
}
-static PyMethodDef Account_methods[] = {
- {NULL}
-};
-
static PyGetSetDef Account_getset[] = {
{"account_name", (getter)get_account_name, (setter)NULL,
"account_name - name of the account", NULL},
@@ -119,7 +115,7 @@ static PyTypeObject clawsmail_AccountType = {
0, /* tp_weaklistoffset */
0, /* tp_iter */
0, /* tp_iternext */
- Account_methods, /* tp_methods */
+ 0, /* tp_methods */
0, /* tp_members */
Account_getset, /* tp_getset */
0, /* tp_base */