[Telepathy-commits] [telepathy-glib/master] Use the correct prefix for D-Bus errors

Simon McVittie simon.mcvittie at collabora.co.uk
Tue Mar 24 12:06:47 PDT 2009


This has been wrong since telepathy-glib 0.7.0.1 and nobody noticed...
perhaps this says something about how often people handle errors :-)

Expected impact:
* Connection managers will emit the correct errors as soon as
  telepathy-glib binaries are upgraded
* Clients that use TpConnection, TpChannel etc. will expect the correct
  errors as soon as telepathy-glib binaries are upgraded
* Clients that string-match errors manually might need rebuilding against
  telepathy-glib 0.7.28, or in the worst case, patching
---
 telepathy-glib/errors.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/telepathy-glib/errors.h b/telepathy-glib/errors.h
index 671f7c7..78046e6 100644
--- a/telepathy-glib/errors.h
+++ b/telepathy-glib/errors.h
@@ -27,7 +27,7 @@ G_BEGIN_DECLS
 
 GQuark tp_errors_quark (void);
 
-#define TP_ERROR_PREFIX "org.freedesktop.Telepathy.Errors"
+#define TP_ERROR_PREFIX "org.freedesktop.Telepathy.Error"
 
 #define TP_ERRORS (tp_errors_quark ())
 
-- 
1.5.6.5




More information about the telepathy-commits mailing list