From fa6e709bbb68d3cb38ea7560e35b6b00e6e2918c Mon Sep 17 00:00:00 2001 From: Gonzalo Paniagua Javier Date: Mon, 28 Apr 2003 12:41:35 +0000 Subject: [PATCH] 2003-04-28 Gonzalo Paniagua Javier * sample/Scribble.cs: patch from Philip Van Hoof taht fixes compilation. svn path=/trunk/gtk-sharp/; revision=14066 --- ChangeLog | 5 +++++ sample/Scribble.cs | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index ac63b808b..fa6c090e3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-04-28 Gonzalo Paniagua Javier + + * sample/Scribble.cs: patch from Philip Van Hoof + taht fixes compilation. + 2003-04-25 Charles Iliya Krempeaux * README : Updated to reflect the name change or the "MonkeyGuide" to the "Mono Hand Book". Updated to diff --git a/sample/Scribble.cs b/sample/Scribble.cs index 2493bcf5a..a38bf8c3a 100644 --- a/sample/Scribble.cs +++ b/sample/Scribble.cs @@ -116,9 +116,9 @@ namespace GtkSamples { Gdk.Window window = ev.window; if (ev.is_hint != 0) { - int s; + Gdk.ModifierType s; window.GetPointer (out x, out y, out s); - state = (Gdk.ModifierType) s; + state = s; } else { x = (int) ev.x; y = (int) ev.y;