diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2009-01-30 10:50:12 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2009-01-30 10:50:12 +0000 |
commit | 66ec78a1292fc09dd8a31a34b8bb3ede604e228e (patch) | |
tree | f14ee8c2425f8e63630752431f39054aada8b9d2 /telepathy-glib/errors.h | |
parent | 71274bb0f488e630e99bc2b32bc36e4a7cb665ab (diff) | |
download | telepathy-glib-66ec78a1292fc09dd8a31a34b8bb3ede604e228e.tar.gz |
errors.h: add parentheses to macro for better defensive programming
Diffstat (limited to 'telepathy-glib/errors.h')
-rw-r--r-- | 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 3cf11c91c..7dd386606 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); |