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

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Sun Dec 26 17:13:36 EST 2004


Author: jluke
Date: 2004-12-26 17:13:35 -0500 (Sun, 26 Dec 2004)
New Revision: 2090

Modified:
   trunk/MonoDevelop/Core/src/Libraries/MonoDevelop.Gui.Utils/ChangeLog
   trunk/MonoDevelop/Core/src/Libraries/MonoDevelop.Gui.Utils/Glue.cs
Log:
2004-12-26  John Luke  <john.luke at gmail.com>

        * Glue.cs: remove IsGtk24 which was never used, and is
        no longer useful



Modified: trunk/MonoDevelop/Core/src/Libraries/MonoDevelop.Gui.Utils/ChangeLog
===================================================================
--- trunk/MonoDevelop/Core/src/Libraries/MonoDevelop.Gui.Utils/ChangeLog	2004-12-26 20:27:00 UTC (rev 2089)
+++ trunk/MonoDevelop/Core/src/Libraries/MonoDevelop.Gui.Utils/ChangeLog	2004-12-26 22:13:35 UTC (rev 2090)
@@ -1,3 +1,8 @@
+2004-12-26  John Luke  <john.luke at gmail.com>
+
+	* Glue.cs: remove IsGtk24 which was never used, and is
+	no longer useful
+
 2004-08-07  Todd Berman  <tberman at off.net>
 
 	* AssemblyInfo.cs.in: Use new ASSEMBLY_VERSION variable.

Modified: trunk/MonoDevelop/Core/src/Libraries/MonoDevelop.Gui.Utils/Glue.cs
===================================================================
--- trunk/MonoDevelop/Core/src/Libraries/MonoDevelop.Gui.Utils/Glue.cs	2004-12-26 20:27:00 UTC (rev 2089)
+++ trunk/MonoDevelop/Core/src/Libraries/MonoDevelop.Gui.Utils/Glue.cs	2004-12-26 22:13:35 UTC (rev 2090)
@@ -19,20 +19,6 @@
 			lmd_propagate_eventkey (Handle, ref key);
 		}
 
-		[DllImport ("gtk-x11-2.0")]
-		static extern IntPtr gtk_check_version (uint maj, uint min, uint mic);
-
-		// check for gtk 2.4 or newer
-		public bool IsGtk24 {
-			get {
-				string res = Marshal.PtrToStringAuto (gtk_check_version (2, 4, 0));
-				if (res == null || res == String.Empty)
-					return true;
-				else
-					return false;
-			}
-		}
-	
 	}
-
 }
+




More information about the Monodevelop-patches-list mailing list