Updating branch refs/heads/master to c48cb86cf91f46c3d90358c118de8003752ec5b0 (commit) from 492d5ac36af25b4555723b070c497e3d1e3f5a9b (commit)
commit c48cb86cf91f46c3d90358c118de8003752ec5b0 Author: Jannis Pohlmann <jannis.pohlm...@codethink.co.uk> Date: Fri Feb 24 16:55:46 2012 +0000 Call dbus_g_thread_init() to hopefully fix threading issues (bug #7544). NEWS | 1 + tumblerd/main.c | 5 ++++- 2 files changed, 5 insertions(+), 1 deletions(-) diff --git a/NEWS b/NEWS index d5589c6..ee3678a 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,7 @@ ===== - Update COPYING to the latest version of GPL2 (bug #7796). - Link all plugins that use rint() against libm (bug #8236). +- Call dbus_g_thread_init() to fix threading issues (bug #7544). 0.1.23 ====== diff --git a/tumblerd/main.c b/tumblerd/main.c index 7972345..e34b135 100644 --- a/tumblerd/main.c +++ b/tumblerd/main.c @@ -1,6 +1,6 @@ /* vi:set et ai sw=2 sts=2 ts=2: */ /*- - * Copyright (c) 2009-2011 Jannis Pohlmann <jan...@xfce.org> + * Copyright (c) 2009-2012 Jannis Pohlmann <jan...@xfce.org> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as @@ -89,6 +89,9 @@ main (int argc, if (!g_thread_supported ()) g_thread_init (NULL); + /* initial the D-Bus threading system */ + dbus_g_thread_init (); + /* try to connect to the D-Bus session bus */ connection = dbus_g_bus_get (DBUS_BUS_SESSION, &error); _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits