projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
5431edf
)
Python plugin: Folder: Fix deprecation warning
author
Holger Berndt
<hb@claws-mail.org>
Tue, 20 Aug 2013 20:03:46 +0000
(22:03 +0200)
committer
Holger Berndt
<hb@claws-mail.org>
Tue, 20 Aug 2013 20:03:46 +0000
(22:03 +0200)
src/plugins/python/foldertype.c
patch
|
blob
|
history
diff --git
a/src/plugins/python/foldertype.c
b/src/plugins/python/foldertype.c
index faf108ce87370d2be5c2c0a75ad8fb6f5b031215..b59b1a420fe2f9890f52564263a11c6851f313ac 100644
(file)
--- 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", (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_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}
};
{NULL}
};