[vala] D-Bus: Add missing gio.h include for GDBus error domains



commit dc340952581529a180b115e8a1a90a4aa2025fef
Author: JÃrg Billeter <j bitron ch>
Date:   Tue Jul 31 14:20:16 2012 +0200

    D-Bus: Add missing gio.h include for GDBus error domains

 codegen/valagdbusmodule.vala |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/codegen/valagdbusmodule.vala b/codegen/valagdbusmodule.vala
index 3604fa9..262e7c0 100644
--- a/codegen/valagdbusmodule.vala
+++ b/codegen/valagdbusmodule.vala
@@ -1,6 +1,6 @@
 /* valagdbusmodule.vala
  *
- * Copyright (C) 2010  JÃrg Billeter
+ * Copyright (C) 2010-2012  JÃrg Billeter
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -45,6 +45,8 @@ public class Vala.GDBusModule : GVariantModule {
 			return;
 		}
 
+		cfile.add_include ("gio/gio.h");
+
 		generate_error_domain_declaration (edomain, cfile);
 
 		if (!edomain.is_internal_symbol ()) {



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