[claws-mail-cvs-commit] composewindowtype.c
Holger Berndt <[email protected]> Thu, 20 Aug 2009 22:36:31 +0000
| Newsgroups | gmane.mail.sylpheed.claws.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /srv/cvs/claws-mail/plugins/python/src
In directory ran:/tmp/cvs-serv12151/src
Modified Files:
Tag: gtk2
composewindowtype.c
Log Message:
2009-08-20 [holger] 0.1cvs12
* ChangeLog
Fix typo
* src/composewindowtype.c
More robust statement order
Index: composewindowtype.c
===================================================================
RCS file: /srv/cvs/claws-mail/plugins/python/src/Attic/composewindowtype.c,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -d -r1.1.2.2 -r1.1.2.3
--- composewindowtype.c 20 Aug 2009 22:30:12 -0000 1.1.2.2
+++ composewindowtype.c 20 Aug 2009 22:36:29 -0000 1.1.2.3
@@ -188,8 +188,8 @@
size = PyList_Size(olist);
for(iEl = 0; iEl < size; iEl++) {
- PyObject *element = PyList_GET_ITEM(olist, iEl);
char *ss;
+ PyObject *element = PyList_GET_ITEM(olist, iEl);
if(!element)
continue;
@@ -201,8 +201,8 @@
g_list_free(list);
return NULL;
}
- Py_DECREF(element);
list = g_list_prepend(list, ss);
+ Py_DECREF(element);
}
compose_attach_from_list(self->compose, list, FALSE);