[next] telepathy-idle: Update codegen: include telepathy-glib-dbus.h in service-side code

Simon McVittie smcv at kemper.freedesktop.org
Thu Apr 3 12:42:33 PDT 2014


Module: telepathy-idle
Branch: next
Commit: 80b10090ce2027570d4ea4818bccb07ad4573d7e
URL:    http://cgit.freedesktop.org/telepathy/telepathy-idle/commit/?id=80b10090ce2027570d4ea4818bccb07ad4573d7e

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

Update codegen: include telepathy-glib-dbus.h in service-side 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