[vala] D-Bus: Add missing dbus-glib.h include for interfaces without methods
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] D-Bus: Add missing dbus-glib.h include for interfaces without methods
- Date: Thu, 14 Oct 2010 15:13:07 +0000 (UTC)
commit f6e1e667c35065cf998135d62b77039f6f4a402c
Author: Jürg Billeter <j bitron ch>
Date: Thu Oct 14 17:11:54 2010 +0200
D-Bus: Add missing dbus-glib.h include for interfaces without methods
Fixes bug 583390.
codegen/valadbusclientmodule.vala | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/codegen/valadbusclientmodule.vala b/codegen/valadbusclientmodule.vala
index 89b223d..3e3abe3 100644
--- a/codegen/valadbusclientmodule.vala
+++ b/codegen/valadbusclientmodule.vala
@@ -1043,6 +1043,8 @@ public class Vala.DBusClientModule : DBusModule {
return;
}
+ decl_space.add_include ("dbus/dbus-glib.h");
+
// declare proxy_new function
var proxy_new = new CCodeFunction (lower_cname + "_new", iface.get_cname () + "*");
proxy_new.add_parameter (new CCodeFormalParameter ("connection", "DBusGConnection*"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]