New test.
[mono.git] / mcs / class / Mono.Cairo / snippets / SnippetsSwf.cs
index be183835ff0cf78f3332eb418af48c2aa326f684..519b50459f6edecf9f7a6d451f510247b89395f1 100644 (file)
@@ -72,7 +72,7 @@ namespace Cairo.Snippets
                        IntPtr hdc = e.Graphics.GetHdc ();
                        // will only work on win32
                        Win32Surface s = new Win32Surface (hdc);
-                       Graphics cr = new Graphics (s);
+                       Context cr = new Context (s);
                        Snippets.InvokeSnippet (snips, name, cr, w, h);
                        e.Graphics.ReleaseHdc (hdc);
                }