[vala/0.10] D-Bus: Add missing gio.h include for GDBus servers



commit b6312ec89f500ec9d1728311e44c1f68b23b032a
Author: Jürg Billeter <j bitron ch>
Date:   Thu Sep 16 16:51:51 2010 +0200

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

 codegen/valagdbusservermodule.vala |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/codegen/valagdbusservermodule.vala b/codegen/valagdbusservermodule.vala
index f345993..a3bfbcc 100644
--- a/codegen/valagdbusservermodule.vala
+++ b/codegen/valagdbusservermodule.vala
@@ -1100,6 +1100,8 @@ public class Vala.GDBusServerModule : GDBusClientModule {
 			return;
 		}
 
+		source_declarations.add_include ("gio/gio.h");
+
 		var cfunc = new CCodeFunction (sym.get_lower_case_cprefix () + "register_object", "guint");
 		cfunc.add_parameter (new CCodeFormalParameter ("object", "gpointer"));
 		cfunc.add_parameter (new CCodeFormalParameter ("connection", "GDBusConnection*"));



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