[banshee] [GtkBaseClient] GLib.Thread.Init() needed on win32
- From: Gabriel Burt <gburt src gnome org>
- To: svn-commits-list gnome org
- Subject: [banshee] [GtkBaseClient] GLib.Thread.Init() needed on win32
- Date: Fri, 29 May 2009 15:37:13 -0400 (EDT)
commit 17275e5e8b1a31c2d8cc70edc5bb14490f65f057
Author: Gabriel Burt <gabriel burt gmail com>
Date: Fri May 29 14:34:36 2009 -0500
[GtkBaseClient] GLib.Thread.Init() needed on win32
---
.../Banshee.Gui/GtkBaseClient.cs | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs b/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs
index dccbade..d9ef726 100644
--- a/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs
+++ b/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs
@@ -90,6 +90,9 @@ namespace Banshee.Gui
protected virtual void InitializeGtk ()
{
+ if (!GLib.Thread.Supported) {
+ GLib.Thread.Init ();
+ }
Gtk.Application.Init ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]