tag 700585 + patch
thanks
I’m not using banshee so I didn’t test it, but the bug should be fixed
by the attached patch.
Cheers,
--
.''`. Josselin Mouette
: :' :
`. `'
`-
Index: banshee-2.4.1/src/Backends/Banshee.Gnome/Banshee.GnomeBackend/GConfConfigurationClient.cs
===================================================================
--- banshee-2.4.1.orig/src/Backends/Banshee.Gnome/Banshee.GnomeBackend/GConfConfigurationClient.cs 2012-03-31 18:18:19.000000000 +0200
+++ banshee-2.4.1/src/Backends/Banshee.Gnome/Banshee.GnomeBackend/GConfConfigurationClient.cs 2013-03-02 22:23:25.336027536 +0100
@@ -70,8 +70,12 @@ namespace Banshee.GnomeBackend
}
}
+ [DllImport ("libdbus-glib-1.so.2")]
+ private static extern void dbus_g_thread_init ();
+
public GConfConfigurationClient ()
{
+ dbus_g_thread_init ();
if (Hyena.PlatformDetection.IsMeeGo) {
throw new InvalidOperationException ("GConf is not supported on MeeGo");
}
Index: banshee-2.4.1/src/Backends/Banshee.Gnome/Banshee.GnomeBackend/GConfProxy.cs
===================================================================
--- banshee-2.4.1.orig/src/Backends/Banshee.Gnome/Banshee.GnomeBackend/GConfProxy.cs 2012-03-31 18:18:19.000000000 +0200
+++ banshee-2.4.1/src/Backends/Banshee.Gnome/Banshee.GnomeBackend/GConfProxy.cs 2013-03-02 22:24:21.416301692 +0100
@@ -52,8 +52,12 @@ namespace Banshee.GnomeBackend
private GConf.Client gconf_client;
private uint refresh_id;
+ [DllImport ("libdbus-glib-1.so.2")]
+ private static extern void dbus_g_thread_init ();
+
public GConfProxy ()
{
+ dbus_g_thread_init ();
gconf_client = new GConf.Client ();
gconf_client.AddNotify (PROXY, OnGConfNotify);
gconf_client.AddNotify (HTTP_PROXY, OnGConfNotify);