[Telepathy-commits] [telepathy-idle/master] Use post-0.6.1 tp_debug_set_flags() and tp_debug_set_persistent()

Will Thompson will.thompson at collabora.co.uk
Wed Sep 24 02:47:07 PDT 2008


---
 src/idle-debug.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/idle-debug.c b/src/idle-debug.c
index 3300331..087707f 100644
--- a/src/idle-debug.c
+++ b/src/idle-debug.c
@@ -41,12 +41,12 @@ void idle_debug_init() {
 
 	const gchar *flags_string = g_getenv("IDLE_DEBUG");
 	if (flags_string) {
-		tp_debug_set_flags_from_env("IDLE_DEBUG");
+		tp_debug_set_flags(flags_string);
 		_flags |= g_parse_debug_string(flags_string, _keys, nkeys);
 	}
 
-	if (g_getenv("IDLE_PERSIST"))
-		tp_debug_set_flags_from_string("persist");
+	if (g_getenv("IDLE_PERSIST") != NULL)
+		tp_debug_set_persistent(TRUE);
 }
 
 void idle_debug(IdleDebugFlags flag, const gchar *format, ...) {
-- 
1.5.6.5




More information about the Telepathy-commits mailing list