summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}