* roottypes.cs: Rename from tree.cs.
[mono.git] / mcs / class / Mono.Cairo / Samples / gtk / clip.cs
index 100f962b5e6437c81db144fd1ccc1a028c600148..aab738adb4e8eb18d07d1cd656f1c3b8c13dc3d7 100644 (file)
@@ -59,7 +59,7 @@ public class CairoGraphic : DrawingArea
 {
         static readonly double  M_PI = 3.14159265358979323846;
 
-       static void draw (Cairo.Graphics gr, int width, int height)
+       static void draw (Cairo.Context gr, int width, int height)
        {
                gr.Scale (width, height);
                gr.LineWidth = 0.04;
@@ -83,7 +83,7 @@ public class CairoGraphic : DrawingArea
                 Gdk.Window win = args.Window;
                //Gdk.Rectangle area = args.Area;
 
-               Cairo.Graphics g = Gdk.Graphics.CreateDrawable (win);
+               Cairo.Context g = Gdk.Context.CreateDrawable (win);
 
                int x, y, w, h, d;
                win.GetGeometry(out x, out y, out w, out h, out d);