[Telepathy-commits] [telepathy-glib/master] errors.h: add parentheses to macro for better defensive programming

Simon McVittie simon.mcvittie at collabora.co.uk
Fri Jan 30 02:50:12 PST 2009


---
 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 3cf11c9..7dd3866 100644
--- a/telepathy-glib/errors.h
+++ b/telepathy-glib/errors.h
@@ -31,7 +31,7 @@ GQuark tp_errors_quark (void);
 
 #define TP_ERROR_PREFIX "org.freedesktop.Telepathy.Errors"
 
-#define TP_ERRORS tp_errors_quark ()
+#define TP_ERRORS (tp_errors_quark ())
 
 void tp_g_set_error_invalid_handle_type (guint type, GError **error);
 void tp_g_set_error_unsupported_handle_type (guint type, GError **error);
-- 
1.5.6.5




More information about the telepathy-commits mailing list