f-spot r4030 - in trunk/src: . Utils



Author: sdelcroix
Date: Tue Jun  3 11:24:14 2008
New Revision: 4030
URL: http://svn.gnome.org/viewvc/f-spot?rev=4030&view=rev

Log:
commenting some unused methods

Modified:
   trunk/src/Loupe.cs
   trunk/src/Utils/CairoUtils.cs

Modified: trunk/src/Loupe.cs
==============================================================================
--- trunk/src/Loupe.cs	(original)
+++ trunk/src/Loupe.cs	Tue Jun  3 11:24:14 2008
@@ -448,13 +448,13 @@
 
 		}
 		
-                [DllImport ("libcairo-2.dll")]
-                static extern void cairo_user_to_device (IntPtr cr, ref double x, ref double y);
-
-		static void UserToDevice (Context ctx, ref double x, ref double y)
-		{
-			cairo_user_to_device (ctx.Handle, ref x, ref y);
-		}
+//                [DllImport ("libcairo-2.dll")]
+//                static extern void cairo_user_to_device (IntPtr cr, ref double x, ref double y);
+//
+//		private static void UserToDevice (Context ctx, ref double x, ref double y)
+//		{
+//			cairo_user_to_device (ctx.Handle, ref x, ref y);
+//		}
 
 		
 		bool dragging = false;

Modified: trunk/src/Utils/CairoUtils.cs
==============================================================================
--- trunk/src/Utils/CairoUtils.cs	(original)
+++ trunk/src/Utils/CairoUtils.cs	Tue Jun  3 11:24:14 2008
@@ -1,7 +1,7 @@
 /*
+ * FSpot.Utils.CairoUtils.cs
  *
  * Author(s)
- *
  *   Larry Ewing <lewing novell com>
  *
  * This is free software. See COPYING for details
@@ -16,18 +16,18 @@
 	public class CairoUtils {
 		static class NativeMethods
 		{
-	                [DllImport ("libcairo-2.dll")]
-			public static extern void cairo_user_to_device (IntPtr cr, ref double x, ref double y);
+//	                [DllImport ("libcairo-2.dll")]
+//			public static extern void cairo_user_to_device (IntPtr cr, ref double x, ref double y);
 
 			[DllImport("libgdk-2.0-0.dll")]
 			public static extern IntPtr gdk_cairo_create (IntPtr raw);	
 		}
 		
-		[Obsolete ("use Cairo.Context.UserToDevice instead")]
-		static void UserToDevice (Context ctx, ref double x, ref double y)
-		{
-			NativeMethods.cairo_user_to_device (ctx.Handle, ref x, ref y);
-		}
+//		[Obsolete ("use Cairo.Context.UserToDevice instead")]
+//		static void UserToDevice (Context ctx, ref double x, ref double y)
+//		{
+//			NativeMethods.cairo_user_to_device (ctx.Handle, ref x, ref y);
+//		}
 		
 		[Obsolete ("use Gdk.CairoHelper.Create instead")]
 		public static Cairo.Context CreateContext (Gdk.Drawable drawable)



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