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



commit 64f2607cc58491a17a2fa961843cf69f0d770019
Author: Jürg Billeter <j bitron ch>
Date:   Fri Aug 20 15:55:01 2010 +0200

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

 codegen/valagdbusclientmodule.vala |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/codegen/valagdbusclientmodule.vala b/codegen/valagdbusclientmodule.vala
index d11d9b5..45c18b6 100644
--- a/codegen/valagdbusclientmodule.vala
+++ b/codegen/valagdbusclientmodule.vala
@@ -194,6 +194,8 @@ public class Vala.GDBusClientModule : GDBusModule {
 			return;
 		}
 
+		source_declarations.add_include ("gio/gio.h");
+
 		// create proxy class
 		string cname = iface.get_cname () + "Proxy";
 		string lower_cname = iface.get_lower_case_cprefix () + "proxy";



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