[telepathy-mission-control/master] Add tp:name-for-bindings to interfaces where needed
Simon McVittie
simon.mcvittie at collabora.co.uk
Wed Jun 10 08:31:12 PDT 2009
The versions of the code-generation scripts found in telepathy-glib git
will fail if no tp:name-for-bindings is given: explicit is better than
implicit.
---
xml/Account_Interface_ChannelRequests.xml | 4 ++--
xml/Account_Interface_Compat.xml | 3 ++-
xml/Account_Manager_Interface_Creation.xml | 3 ++-
xml/Account_Manager_Interface_Query.xml | 3 ++-
4 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/xml/Account_Interface_ChannelRequests.xml b/xml/Account_Interface_ChannelRequests.xml
index 6aad9c7..150d23f 100644
--- a/xml/Account_Interface_ChannelRequests.xml
+++ b/xml/Account_Interface_ChannelRequests.xml
@@ -22,7 +22,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
<p>The ChannelRequests interface provides methods to create and cancel channel requests, and signals to monitor them.</p>
</tp:docstring>
- <method name="Create">
+ <method name="Create" tp:name-for-bindings="Create">
<tp:docstring>
Create a channel request.
</tp:docstring>
@@ -209,7 +209,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
</method>
- <method name="Cancel">
+ <method name="Cancel" tp:name-for-bindings="Cancel">
<tp:docstring>
<p>Cancel a channel request. The precise effect depends on the
current progress of the request.</p>
diff --git a/xml/Account_Interface_Compat.xml b/xml/Account_Interface_Compat.xml
index 8f4afdb..e82d6de 100644
--- a/xml/Account_Interface_Compat.xml
+++ b/xml/Account_Interface_Compat.xml
@@ -41,7 +41,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
</tp:docstring>
</property>
- <method name="SetHasBeenOnline">
+ <method name="SetHasBeenOnline"
+ tp:name-for-bindings="Set_Has_Been_Online">
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
<p>Force MC to believe that this account has been put online
successfully at some point in the past.</p>
diff --git a/xml/Account_Manager_Interface_Creation.xml b/xml/Account_Manager_Interface_Creation.xml
index 01a8d2e..7cd29b3 100644
--- a/xml/Account_Manager_Interface_Creation.xml
+++ b/xml/Account_Manager_Interface_Creation.xml
@@ -24,7 +24,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
</tp:docstring>
- <method name="CreateAccount">
+ <method name="CreateAccount"
+ tp:name-for-bindings="Create_Account">
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
<p>Request the creation of a new account, and sets the given properties on it.</p>
diff --git a/xml/Account_Manager_Interface_Query.xml b/xml/Account_Manager_Interface_Query.xml
index f75fe7f..e66e127 100644
--- a/xml/Account_Manager_Interface_Query.xml
+++ b/xml/Account_Manager_Interface_Query.xml
@@ -27,7 +27,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
</tp:rationale>
</tp:docstring>
- <method name="FindAccounts">
+ <method name="FindAccounts"
+ tp:name-for-bindings="Find_Accounts">
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
<p>Find all accounts which match the search query.</p>
<p>An empty parameter should return all accounts</p>
--
1.5.6.5
More information about the telepathy-commits
mailing list