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;