[gobject-introspection/wip/transformer] Fix duplicated Return valuetypes in C / Javascript
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection/wip/transformer] Fix duplicated Return valuetypes in C / Javascript
- Date: Fri, 30 Jul 2010 22:04:49 +0000 (UTC)
commit 000c9fd532ec4dc13a50d9cce4ef329bddeac1aa
Author: Zachary Goldberg <zgoldberg src gnome org>
Date: Thu Jul 29 08:19:57 2010 -0400
Fix duplicated Return valuetypes in C / Javascript
giscanner/gicodeformatters.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/giscanner/gicodeformatters.py b/giscanner/gicodeformatters.py
index 2dbcf00..80f19e0 100644
--- a/giscanner/gicodeformatters.py
+++ b/giscanner/gicodeformatters.py
@@ -123,7 +123,7 @@ class DocBookFormatter(object):
writer.write_line("%s(" % space(40 - len(clazz.get_method_name(method))))
first_param = True
- parameters = method.parameters
+ parameters = [p for p in method.parameters]
parameters = clazz.update_parameters(method, parameters)
for param in parameters:
if not first_param:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]