[annum] init dbus threading so we don't crash so much
- From: Michael Meeks <michael src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [annum] init dbus threading so we don't crash so much
- Date: Fri, 19 Mar 2010 10:23:04 +0000 (UTC)
commit 2817761499e6f2880c4ae48261fe27e6ac39ba9d
Author: Michael Meeks <michael meeks novell com>
Date: Fri Mar 19 10:24:11 2010 +0000
init dbus threading so we don't crash so much
src/main.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/main.c b/src/main.c
index 3d1e915..0f333d7 100644
--- a/src/main.c
+++ b/src/main.c
@@ -21,12 +21,14 @@
#include "annum-application.h"
#include <gtk/gtk.h>
+#include <dbus/dbus-glib.h>
int main (int argc, char **argv)
{
AnnumApplication *application;
g_thread_init (NULL);
+ dbus_g_thread_init ();
gtk_init (&argc, &argv);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]