[telepathy-spec/master] errors: add spaces to ConnectionRefused, ConnectionFailed, ConnectionLost

Simon McVittie simon.mcvittie at collabora.co.uk
Wed May 27 08:24:40 PDT 2009


The intention was that error names are transformed into upper case by
replacing spaces and dots with _, and upper-casing - so these errors
would have looked like CONNECTIONREFUSED, whereas we want
CONNECTION_REFUSED. telepathy-qt4's code generation has this behaviour.

Reviewed-by: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
---
 spec/errors.xml |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/spec/errors.xml b/spec/errors.xml
index 4ab86d5..7b1798d 100644
--- a/spec/errors.xml
+++ b/spec/errors.xml
@@ -307,19 +307,19 @@
     </tp:docstring>
   </tp:error>
 
-  <tp:error name="ConnectionRefused">
+  <tp:error name="Connection Refused">
     <tp:docstring>
       Raised when a connection is refused.
     </tp:docstring>
   </tp:error>
 
-  <tp:error name="ConnectionFailed">
+  <tp:error name="Connection Failed">
     <tp:docstring>
       Raised when a connection can't be established.
     </tp:docstring>
   </tp:error>
 
-  <tp:error name="ConnectionLost">
+  <tp:error name="Connection Lost">
     <tp:docstring>
       Raised when a connection is broken.
     </tp:docstring>
-- 
1.5.6.5



More information about the telepathy-commits mailing list