summaryrefslogtreecommitdiff
path: root/codegen/valagdbusmodule.vala
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2012-07-31 14:20:16 +0200
committerJürg Billeter <j@bitron.ch>2012-07-31 14:20:16 +0200
commitdc340952581529a180b115e8a1a90a4aa2025fef (patch)
treeea6f359ce7c2257af03312baf47d3b2fff3b7d50 /codegen/valagdbusmodule.vala
parent94dbe36a66c6ca496ef753cca0a48d0cb9dd5408 (diff)
downloadvala-dc340952581529a180b115e8a1a90a4aa2025fef.tar.gz
D-Bus: Add missing gio.h include for GDBus error domains
Diffstat (limited to 'codegen/valagdbusmodule.vala')
-rw-r--r--codegen/valagdbusmodule.vala4
1 files changed, 3 insertions, 1 deletions
diff --git a/codegen/valagdbusmodule.vala b/codegen/valagdbusmodule.vala
index 3604fa942..262e7c07a 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 ()) {