From: Holger Berndt Date: Sat, 27 Jul 2013 11:12:25 +0000 (+0200) Subject: Python plugin: Remove unused account methods X-Git-Tag: 3.9.3~88 X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=commitdiff_plain;h=8617c2715305c5711da997f6cfde70a18a517a96 Python plugin: Remove unused account methods --- diff --git a/src/plugins/python/accounttype.c b/src/plugins/python/accounttype.c index 337bebfa4..d82717acb 100644 --- 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 */