[Telepathy-commits] [telepathy-glib/master] BaseConnection: wrap RETURN_INVALID_ARGUMENT in G_STMT_{START, END}
Will Thompson
will.thompson at collabora.co.uk
Wed Sep 17 04:20:03 PDT 2008
---
telepathy-glib/base-connection.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/telepathy-glib/base-connection.c b/telepathy-glib/base-connection.c
index cb84c28..85179f4 100644
--- a/telepathy-glib/base-connection.c
+++ b/telepathy-glib/base-connection.c
@@ -2470,11 +2470,11 @@ static void conn_requests_offer_request (TpBaseConnection *self,
#define RETURN_INVALID_ARGUMENT(message) \
- { \
+ G_STMT_START { \
GError e = { TP_ERRORS, TP_ERROR_INVALID_ARGUMENT, message }; \
dbus_g_method_return_error (context, &e); \
return; \
- }
+ } G_STMT_END
static void
--
1.5.6.5
More information about the Telepathy-commits
mailing list