[vala] Always include glib.h in the generated header files



commit 3cf03477be542a159d50aecaba8b415a120553fc
Author: Ali Sabil <ali sabil gmail com>
Date:   Wed Apr 1 13:46:12 2009 +0200

    Always include glib.h in the generated header files
---
 gobject/valaccodebasemodule.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/gobject/valaccodebasemodule.vala b/gobject/valaccodebasemodule.vala
index 2539df7..e143b04 100644
--- a/gobject/valaccodebasemodule.vala
+++ b/gobject/valaccodebasemodule.vala
@@ -423,6 +423,7 @@ internal class Vala.CCodeBaseModule : CCodeModule {
 		wrappers = new HashSet<string> (str_hash, str_equal);
 		generated_external_symbols = new HashSet<Symbol> ();
 
+		header_declarations.add_include ("glib.h");
 		source_declarations.add_include ("glib.h");
 		source_declarations.add_include ("glib-object.h");
 



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