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

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


Module: telepathy-gabble
Branch: next
Commit: 6bc9ba234e725f63de65724e19223eb082e9dfe3
URL:    http://cgit.freedesktop.org/telepathy/telepathy-gabble/commit/?id=6bc9ba234e725f63de65724e19223eb082e9dfe3

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

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