[vala] CodeWriter: Write error types for delegates



commit cd205053cf224169bf2d65dba780f727a0b03f72
Author: Darren Warner <darren dazwin com>
Date:   Wed Oct 6 21:04:53 2010 +0200

    CodeWriter: Write error types for delegates
    
    Fixes bug 629798.

 vala/valacodewriter.vala |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/vala/valacodewriter.vala b/vala/valacodewriter.vala
index 94bf542..3bcafd9 100644
--- a/vala/valacodewriter.vala
+++ b/vala/valacodewriter.vala
@@ -969,6 +969,8 @@ public class Vala.CodeWriter : CodeVisitor {
 		
 		write_params (cb.get_parameters ());
 
+		write_error_domains (cb.get_error_types ());
+
 		write_string (";");
 
 		write_newline ();



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