From 24ec6aa57f9c79d39cf4da3f86754833c8128cac Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Sat, 12 Apr 2003 19:41:21 +0000 Subject: [PATCH] Oops. Fix sample svn path=/trunk/gtk-sharp/; revision=13568 --- doc/en/Gdk/Color.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/en/Gdk/Color.xml b/doc/en/Gdk/Color.xml index 6e74455a4..ef28e0e10 100644 --- a/doc/en/Gdk/Color.xml +++ b/doc/en/Gdk/Color.xml @@ -28,7 +28,9 @@ Gdk.Colormap colormap = Gdk.Colormap.System; colormap.AllocColor (red_color, true, true); - + + gc.Foreground = red_color; + // Now you can use it drawable.DrawLine (gc, 0, 0, 100, 100); }