[Telepathy-commits] [telepathy-glib/master] Annotated the latest macro change with a comment

Mikhail Zabaluev mikhail.zabaluev at nokia.com
Thu Aug 28 06:12:49 PDT 2008


---
 telepathy-glib/base-connection.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/telepathy-glib/base-connection.h b/telepathy-glib/base-connection.h
index 81f322f..f08f695 100644
--- a/telepathy-glib/base-connection.h
+++ b/telepathy-glib/base-connection.h
@@ -292,6 +292,7 @@ void tp_base_connection_register_with_contacts_mixin (TpBaseConnection *self);
  * #TP_ERROR_DISCONNECTED, and return from the current function (which
  * must be void). For use in D-Bus method implementations.
  */
+/* The cast of a string literal to (gchar *) is to keep C++ compilers happy */
 #define TP_BASE_CONNECTION_ERROR_IF_NOT_CONNECTED(conn, context) \
   G_STMT_START { \
     TpBaseConnection *c = (conn); \
-- 
1.5.6.3



More information about the Telepathy-commits mailing list