[Gtk-sharp-list] My first patch :)
Philip Van Hoof
spamfrommailing@freax.org
28 Apr 2003 00:22:10 +0200
--=-ytpvnRI3m/s99JEEs0SM
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Here ya go,
This one fixes a compiler error in sample/Scribble.cs
--
Philip Van Hoof a.k.a. freax
me at freax dot org
http://www.freax.be -- http://www.freax.eu.org -- http://www.freax.org
--=-ytpvnRI3m/s99JEEs0SM
Content-Disposition: attachment; filename=patch_freax.diff
Content-Type: text/plain; name=patch_freax.diff; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
? patch_freax.diff
? gconf/Settings.cs
? rsvg/Makefile
Index: Scribble.cs
===================================================================
RCS file: /mono/gtk-sharp/sample/Scribble.cs,v
retrieving revision 1.5
diff -u -u -r1.5 Scribble.cs
--- Scribble.cs 15 Mar 2003 21:02:25 -0000 1.5
+++ Scribble.cs 27 Apr 2003 22:21:03 -0000
@@ -116,9 +116,9 @@
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;
--=-ytpvnRI3m/s99JEEs0SM--