Oops. Fix sample

svn path=/trunk/gtk-sharp/; revision=13568
This commit is contained in:
Miguel de Icaza 2003-04-12 19:41:21 +00:00
parent 7a3264e911
commit 24ec6aa57f

View file

@ -28,7 +28,9 @@
Gdk.Colormap colormap = Gdk.Colormap.System; Gdk.Colormap colormap = Gdk.Colormap.System;
colormap.AllocColor (red_color, true, true); colormap.AllocColor (red_color, true, true);
gc.Foreground = red_color;
// Now you can use it // Now you can use it
drawable.DrawLine (gc, 0, 0, 100, 100); drawable.DrawLine (gc, 0, 0, 100, 100);
} }