summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/telepathy-rakia.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/telepathy-rakia.c b/src/telepathy-rakia.c
index 45c952c..305fd43 100644
--- a/src/telepathy-rakia.c
+++ b/src/telepathy-rakia.c
@@ -29,6 +29,9 @@
#include "rakia/debug.h"
#include "sip-connection-manager.h"
+
+#include <dbus/dbus.h>
+
#include <telepathy-glib/run.h>
#include <telepathy-glib/debug.h>
@@ -47,6 +50,9 @@ main (int argc, char** argv)
guint fatal_mask;
const gchar *logfile_string;
+ if (!dbus_threads_init_default ())
+ g_error ("Unable to initialize libdbus thread-safety (out of memory?)");
+
fatal_mask = g_log_set_always_fatal (G_LOG_FATAL_MASK);
fatal_mask |= G_LOG_LEVEL_CRITICAL;
g_log_set_always_fatal (fatal_mask);