Python plugin: Remove unused account methods
authorHolger Berndt <hb@claws-mail.org>
Sat, 27 Jul 2013 11:12:25 +0000 (13:12 +0200)
committerHolger Berndt <hb@claws-mail.org>
Sat, 27 Jul 2013 14:50:09 +0000 (16:50 +0200)
src/plugins/python/accounttype.c

index 337bebfa4da3d44eb0a1fc427418507268a9f5b9..d82717acb357db1b106140ef3756338b1f051d79 100644 (file)
@@ -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 */