changeset 24886:61f3a9f7a220

Kir Kolyshkin figured out that we need to initialize the dbus threading to avoid some crashing. It turns out that this is because gnome-vfs (which magically gets used when you use GTK+ on a GNOME desktop) uses dbus from several threads. Fixes #7538
author Daniel Atallah <daniel.atallah@gmail.com>
date Tue, 06 Jan 2009 05:03:18 +0000
parents 1596d09393cf
children df6d3c3574ce b15168f2b7ee 52aef69ca193
files COPYRIGHT libpurple/dbus-server.c
diffstat 2 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/COPYRIGHT	Tue Jan 06 04:11:09 2009 +0000
+++ b/COPYRIGHT	Tue Jan 06 05:03:18 2009 +0000
@@ -212,6 +212,7 @@
 John Kelm
 Jochen Kemnade
 Akuke Kok
+Kir Kolyshkin
 Konstantin Korikov
 Cole Kowalski
 Matt Kramer
--- a/libpurple/dbus-server.c	Tue Jan 06 04:11:09 2009 +0000
+++ b/libpurple/dbus-server.c	Tue Jan 06 05:03:18 2009 +0000
@@ -803,6 +803,8 @@
 void
 purple_dbus_init(void)
 {
+	dbus_g_thread_init();
+
 	purple_dbus_init_ids();
 
 	g_free(init_error);