f-spot r3719 - trunk/src/Widgets



Author: sdelcroix
Date: Fri Feb 29 14:06:37 2008
New Revision: 3719
URL: http://svn.gnome.org/viewvc/f-spot?rev=3719&view=rev

Log:
marking some methods as Obsolete

Modified:
   trunk/src/Widgets/CairoUtils.cs

Modified: trunk/src/Widgets/CairoUtils.cs
==============================================================================
--- trunk/src/Widgets/CairoUtils.cs	(original)
+++ trunk/src/Widgets/CairoUtils.cs	Fri Feb 29 14:06:37 2008
@@ -17,6 +17,7 @@
                 [DllImport ("libcairo-2.dll")]
                 static extern void cairo_user_to_device (IntPtr cr, ref double x, ref double y);
 		
+		[Obsolete ("use Cairo.Context.UserToDevice instead")]
 		static void UserToDevice (Context ctx, ref double x, ref double y)
 		{
 			cairo_user_to_device (ctx.Handle, ref x, ref y);
@@ -28,6 +29,7 @@
 								double x,
 								double y);
 
+		[Obsolete ("use Gdk.CairoHelper.SetSourcePixmap instead")]
 		public static void SetSourceDrawable (Context ctx, Gdk.Drawable d, double x, double y)
 		{
 			try {



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