[vala] Always include glib.h in the generated header files
- From: Ali Sabil <asabil src gnome org>
- To: svn-commits-list gnome org
- Subject: [vala] Always include glib.h in the generated header files
- Date: Wed, 1 Apr 2009 07:51:09 -0400 (EDT)
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]