summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2013-08-07 21:31:40 +0200
committerJonny Lamb <jonny.lamb@collabora.co.uk>2013-08-07 21:32:25 +0200
commit892a892a846bac341a7ba6373692e64b835bd82d (patch)
tree0b4fbda00dfce33031080aa4683899b19c9dcb8b
parent2de852505eb03b5f16202aed68a29c073507d931 (diff)
main: add KINDLING_PERSIST env variablefixups
-rw-r--r--src/main.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 5264c56..dcbe4d8 100644
--- a/src/main.c
+++ b/src/main.c
@@ -17,7 +17,7 @@ telepathy-kindling is free software: you can redistribute it and/or modify it
* along with this program. If not, see <http://www.gnu.org/licenses/>.";
*/
#include <config.h>
-#include <telepathy-glib/run.h>
+#include <telepathy-glib/telepathy-glib.h>
#include "kindling-connection-manager.h"
@@ -31,6 +31,10 @@ int
main (int argc, char *argv[])
{
int result;
+
+ if (g_getenv ("KINDLING_PERSIST"))
+ tp_debug_set_persistent (TRUE);
+
result = tp_run_connection_manager("telepathy-kindling", VERSION, _construct_cm, argc, argv);
return result;
}