talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 4882d13780157870ac147aa0ee3f41176f46f093
parent 5431edf4ab7293a31d89a98c779f950de4cefa64
Author: Holger Berndt <hb@claws-mail.org>
Date:   Tue, 20 Aug 2013 22:03:46 +0200

Python plugin: Folder: Fix deprecation warning
Diffstat:
Msrc/plugins/python/foldertype.c | 7++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/plugins/python/foldertype.c b/src/plugins/python/foldertype.c @@ -258,12 +258,13 @@ static PyMethodDef Folder_methods[] = { {"get_identifier", (PyCFunction)Folder_get_identifier, METH_NOARGS, "get_identifier() - get identifier\n" "\n" - "Get identifier for folder as a string (e.g. #mh/foo/bar)."}, + "Get identifier for folder as a string (e.g. #mh/foo/bar).\n\n" + "DEPRECATED: Use identifier property instead."}, + {"get_messages", (PyCFunction)Folder_get_messages, METH_NOARGS, "get_messages() - get a tuple of messages in folder\n" "\n" - "Get a tuple of MessageInfos for the folder.\n\n" - "DEPRECATED: Use identifier property instead."}, + "Get a tuple of MessageInfos for the folder."}, {NULL} };