diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.co.uk> | 2011-05-03 14:39:56 -0400 |
---|---|---|
committer | Nicolas Dufresne <nicolas.dufresne@collabora.co.uk> | 2011-05-03 14:39:56 -0400 |
commit | c05b106fb723bad6c70e5880c15e9be6d53ff6e7 (patch) | |
tree | a91b95ef0a1269af8895155a81261d06bf57d0ac | |
parent | c49bc4e6877f8deb11b3758a5ce52a1ee7a43d19 (diff) | |
download | telepathy-logger-c05b106fb723bad6c70e5880c15e9be6d53ff6e7.tar.gz |
Remove call from supported types if call is disabled
-rw-r--r-- | telepathy-logger/log-store-xml.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/telepathy-logger/log-store-xml.c b/telepathy-logger/log-store-xml.c index b04eb6d..269829c 100644 --- a/telepathy-logger/log-store-xml.c +++ b/telepathy-logger/log-store-xml.c @@ -66,7 +66,12 @@ #define LOG_FOOTER \ "</log>\n" +#ifdef ENABLE_CALL #define ALL_SUPPORTED_TYPES (TPL_EVENT_MASK_TEXT | TPL_EVENT_MASK_CALL) +#else +#define ALL_SUPPORTED_TYPES TPL_EVENT_MASK_TEXT +#endif /* ENABLE_CALL */ + #define CONTAINS_ALL_SUPPORTED_TYPES(type_mask) \ (((type_mask) & ALL_SUPPORTED_TYPES) == ALL_SUPPORTED_TYPES) |