[Telepathy-commits] [telepathy-qt4/master] Channel: fix incorrect error reply for Close()

Simon McVittie simon.mcvittie at collabora.co.uk
Wed Jan 14 04:49:57 PST 2009


---
 TelepathyQt4/Client/channel.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/TelepathyQt4/Client/channel.cpp b/TelepathyQt4/Client/channel.cpp
index dc7c135..6e6158c 100644
--- a/TelepathyQt4/Client/channel.cpp
+++ b/TelepathyQt4/Client/channel.cpp
@@ -486,7 +486,7 @@ QDBusPendingReply<> Channel::close()
     warning() << "Channel::close() used with readiness" << mPriv->readiness;
 
     return QDBusPendingReply<>(QDBusMessage::createError(
-            "TELEPATHY_ERROR_NOT_AVAILABLE", "Attempted to close an already dead or closed channel"));
+            TELEPATHY_ERROR_NOT_AVAILABLE, "Attempted to close an already dead or closed channel"));
 }
 
 uint Channel::groupFlags() const
-- 
1.5.6.5




More information about the Telepathy-commits mailing list