[next] telepathy-salut: Update codegen: include telepathy-glib-dbus.h in generated code

Simon McVittie smcv at kemper.freedesktop.org
Thu Apr 3 12:45:07 PDT 2014


Module: telepathy-salut
Branch: next
Commit: 1a771780e82decbf1ec0117716487c3a60128d8e
URL:    http://cgit.freedesktop.org/telepathy/telepathy-salut/commit/?id=1a771780e82decbf1ec0117716487c3a60128d8e

Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Thu Apr  3 11:24:41 2014 +0100

Update codegen: include telepathy-glib-dbus.h in generated code

---

 tools/glib-ginterface-gen.py |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tools/glib-ginterface-gen.py b/tools/glib-ginterface-gen.py
index d5a786f..184476d 100644
--- a/tools/glib-ginterface-gen.py
+++ b/tools/glib-ginterface-gen.py
@@ -741,12 +741,14 @@ class Generator(object):
         self.b('')
 
         if self.allow_single_include:
-            self.b('#include <telepathy-glib/core-svc-interface.h>')
             self.b('#include <telepathy-glib/dbus.h>')
             self.b('#include <telepathy-glib/dbus-properties-mixin.h>')
+            self.b('#include <telepathy-glib/svc-interface.h>')
             self.b('#include <telepathy-glib/util.h>')
+            self.b('#include <telepathy-glib/value-array.h>')
         else:
             self.b('#include <telepathy-glib/telepathy-glib.h>')
+            self.b('#include <telepathy-glib/telepathy-glib-dbus.h>')
         self.b('')
 
         for header in self.headers:



More information about the telepathy-commits mailing list