[next] telepathy-glib: test interface: add tp:name-for-bindings

Simon McVittie smcv at kemper.freedesktop.org
Fri Mar 14 12:02:33 PDT 2014


Module: telepathy-glib
Branch: next
Commit: 0f23b02df7a8012054f0fb0eea6923d5944811bd
URL:    http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=0f23b02df7a8012054f0fb0eea6923d5944811bd

Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Tue Mar 11 18:31:21 2014 +0000

test interface: add tp:name-for-bindings

I'm making the codegen more strict about that.

---

 tests/dbus/with-properties.xml |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/tests/dbus/with-properties.xml b/tests/dbus/with-properties.xml
index 5047a73..b2befb1 100644
--- a/tests/dbus/with-properties.xml
+++ b/tests/dbus/with-properties.xml
@@ -10,9 +10,12 @@
       <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal"
                   value="true"/>
 
-      <property name="ReadOnly" access="read" type="u"/>
-      <property name="WriteOnly" access="write" type="u"/>
-      <property name="ReadWrite" access="readwrite" type="u">
+      <property name="ReadOnly" access="read" type="u"
+          tp:name-for-bindings="Read_Only"/>
+      <property name="WriteOnly" access="write" type="u"
+          tp:name-for-bindings="Write_Only"/>
+      <property name="ReadWrite" access="readwrite" type="u"
+          tp:name-for-bindings="Read_Write">
         <!-- … and that this overrides the global annotation. -->
         <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal"
                     value="invalidates"/>



More information about the telepathy-commits mailing list