[Monodevelop-patches-list] r1868 - trunk/MonoDevelop/Core/src/Libraries/MonoDevelop.Gui.Utils

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Wed Jun 30 21:38:02 EDT 2004


Author: jluke
Date: 2004-06-30 21:38:02 -0400 (Wed, 30 Jun 2004)
New Revision: 1868

Modified:
   trunk/MonoDevelop/Core/src/Libraries/MonoDevelop.Gui.Utils/Glue.cs
Log:
Auto is better and also works


Modified: trunk/MonoDevelop/Core/src/Libraries/MonoDevelop.Gui.Utils/Glue.cs
===================================================================
--- trunk/MonoDevelop/Core/src/Libraries/MonoDevelop.Gui.Utils/Glue.cs	2004-07-01 01:24:58 UTC (rev 1867)
+++ trunk/MonoDevelop/Core/src/Libraries/MonoDevelop.Gui.Utils/Glue.cs	2004-07-01 01:38:02 UTC (rev 1868)
@@ -25,7 +25,7 @@
 		// check for gtk 2.4 or newer
 		public bool IsGtk24 {
 			get {
-				string res = Marshal.PtrToStringAnsi (gtk_check_version (2, 4, 0));
+				string res = Marshal.PtrToStringAuto (gtk_check_version (2, 4, 0));
 				if (res == null || res == String.Empty)
 					return true;
 				else




More information about the Monodevelop-patches-list mailing list