projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8002fda
)
Python plugin: Const fix and better description of MessageInfo objects
author
Holger Berndt
<hb@claws-mail.org>
Sun, 21 Jul 2013 10:44:27 +0000
(12:44 +0200)
committer
Holger Berndt
<hb@claws-mail.org>
Sat, 27 Jul 2013 14:50:08 +0000
(16:50 +0200)
src/plugins/python/messageinfotype.c
patch
|
blob
|
history
diff --git
a/src/plugins/python/messageinfotype.c
b/src/plugins/python/messageinfotype.c
index 77d5724ed13f44d8e8fc419e4a5a643d9f0f600b..b5809f4f709a13f5d0b18ac1ed1915c596487e11 100644
(file)
--- a/
src/plugins/python/messageinfotype.c
+++ b/
src/plugins/python/messageinfotype.c
@@
-214,7
+214,7
@@
static PyObject* remove_tag(PyObject *self, PyObject *args)
static PyObject* get_header(PyObject *self, PyObject *args)
{
int retval;
- c
onst c
har *header_str;
+ char *header_str;
char *header_str_dup;
MsgInfo *msginfo;
gchar header_content[HEADER_CONTENT_SIZE];
@@
-353,7
+353,8
@@
static PyTypeObject clawsmail_MessageInfoType = {
0, /* tp_as_buffer*/
Py_TPFLAGS_DEFAULT, /* tp_flags*/
"A MessageInfo represents" /* tp_doc */
- "a single message.",
+ " a single message.\n\n"
+ "Do not construct objects of this type yourself.",
0, /* tp_traverse */
0, /* tp_clear */
0, /* tp_richcompare */