[tomboy] Set STAThread attribute on Main method to fix printing in Windows (bug #576554)



commit 4656473f1b98a1b56d2f0ada74ebcb02b41799f0
Author: Sandy Armstrong <sanfordarmstrong gmail com>
Date:   Sun Nov 15 18:16:21 2009 -0800

    Set STAThread attribute on Main method to fix printing in Windows (bug #576554)

 Tomboy/Tomboy.cs |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/Tomboy/Tomboy.cs b/Tomboy/Tomboy.cs
index 8e2a2c5..7b29421 100644
--- a/Tomboy/Tomboy.cs
+++ b/Tomboy/Tomboy.cs
@@ -29,6 +29,7 @@ namespace Tomboy
 #endif
 		static Gtk.IconTheme icon_theme = null;
 
+		[STAThread]
 		public static void Main (string [] args)
 		{
 			// TODO: Extract to a PreInit in Application, or something



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]