diff options
author | Vivek Dasmohapatra <vivek@collabora.co.uk> | 2011-04-08 13:02:36 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2011-05-20 11:51:13 +0100 |
commit | e6cd84b0d147f24fc7e2dbcec99e6b494af3c032 (patch) | |
tree | 46f4c29bfc29047f8db68dcfb7c8e15b3055c36b | |
parent | c4a70827351fc7e658c60d13e1b258aaa2fdfee0 (diff) | |
download | telepathy-mission-control-e6cd84b0d147f24fc7e2dbcec99e6b494af3c032.tar.gz |
Storage has stabilised after the Big Rewrite: turn off debug by default
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
-rw-r--r-- | mission-control-plugins/account-storage.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mission-control-plugins/account-storage.c b/mission-control-plugins/account-storage.c index 14013d01..b4eaaeef 100644 --- a/mission-control-plugins/account-storage.c +++ b/mission-control-plugins/account-storage.c @@ -83,8 +83,9 @@ #ifdef ENABLE_DEBUG #define DEBUG(_p, _format, ...) \ - g_debug ("%s: %s: " _format, G_STRFUNC, \ - (_p != NULL) ? mcp_account_storage_name (_p) : "NULL", ##__VA_ARGS__) + if (g_getenv ("MC_STORAGE_DEBUG") != NULL) \ + g_debug ("%s: %s: " _format, G_STRFUNC, \ + (_p != NULL) ? mcp_account_storage_name (_p) : "NULL", ##__VA_ARGS__) #else /* ENABLE_DEBUG */ |