[vala/parallel-0.10: 9/37] codewriter: Correctly write deprecated replacement attributes.



commit dd0db1bf36a0aff96a982f60bee6625118a4afbb
Author: Evan Nemerson <evan coeus-group com>
Date:   Sat Aug 7 11:15:12 2010 -0700

    codewriter: Correctly write deprecated replacement attributes.

 vala/valacodewriter.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vala/valacodewriter.vala b/vala/valacodewriter.vala
index b4b19d7..a1cda97 100644
--- a/vala/valacodewriter.vala
+++ b/vala/valacodewriter.vala
@@ -178,7 +178,7 @@ public class Vala.CodeWriter : CodeVisitor {
 					write_string (", ");
 				}
 				if (replacement != null) {
-					write_string ("replacement = \"%s\"".printf (since));
+					write_string ("replacement = \"%s\"".printf (replacement));
 				}
 				write_string (")");
 			}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]