[vala] D-Bus: Add missing gio.h include for GDBus servers
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] D-Bus: Add missing gio.h include for GDBus servers
- Date: Thu, 16 Sep 2010 14:53:23 +0000 (UTC)
commit 8dd64678eeaffc765da7bc4e1fb0ff5a2c5e09c6
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 acc9b88..c94043c 100644
--- a/codegen/valagdbusservermodule.vala
+++ b/codegen/valagdbusservermodule.vala
@@ -1100,6 +1100,8 @@ public class Vala.GDBusServerModule : GDBusClientModule {
return;
}
+ cfile.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]