summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Zabaluev <mikhail.zabaluev@nokia.com>2007-07-24 13:46:21 +0000
committerMikhail Zabaluev <mikhail.zabaluev@nokia.com>2007-07-24 13:46:21 +0000
commit939d1de7dc49454a877f1733ea02d8e56d5a4990 (patch)
tree90547b05ee6b973339f29ac9bb8445c23565bdb5
parent9c467b7f3cac15547a280a760c33816a479e75dd (diff)
downloadtelepathy-glib-939d1de7dc49454a877f1733ea02d8e56d5a4990.tar.gz
Do restore the backwards-compatible behavior of the 'persist' debug flag
20070724134621-5b6ca-aac3ebd67f7291ee2ceb40a27d208707dde9837b.gz
-rw-r--r--telepathy-glib/run.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/telepathy-glib/run.c b/telepathy-glib/run.c
index 2aa22745d..8c1dd58ed 100644
--- a/telepathy-glib/run.c
+++ b/telepathy-glib/run.c
@@ -63,7 +63,9 @@ static gboolean
kill_connection_manager (gpointer data)
{
#ifdef ENABLE_DEBUG
- if (!_tp_debug_is_persistent () && !connections_exist)
+ if (!_tp_debug_is_persistent ()
+ && !_tp_debug_flag_is_set (TP_DEBUG_PERSIST)
+ && !connections_exist)
#else
if (!connections_exist)
#endif