]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
codewriter: Correctly write deprecated replacement attributes.
authorEvan Nemerson <evan@coeus-group.com>
Sat, 7 Aug 2010 18:15:12 +0000 (11:15 -0700)
committerJürg Billeter <j@bitron.ch>
Sat, 4 Sep 2010 14:57:27 +0000 (16:57 +0200)
vala/valacodewriter.vala

index b4b19d70d2d2edeb906672ff2567d4fcb21414a7..a1cda9724cff1d6103fe9b5b15076c27751cbbfc 100644 (file)
@@ -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 (")");
                        }