]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
D-Bus: Add missing gio.h include for GDBus error domains
authorJürg Billeter <j@bitron.ch>
Tue, 31 Jul 2012 12:20:16 +0000 (14:20 +0200)
committerJürg Billeter <j@bitron.ch>
Tue, 31 Jul 2012 12:20:16 +0000 (14:20 +0200)
codegen/valagdbusmodule.vala

index 3604fa942af52251fa837241074ea4d7b77f844a..262e7c07a7e9c7f9db21ae3a70b05dcd44f5b46c 100644 (file)
@@ -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 ()) {