From dd71eaf3eaa40b1a555794a3150057a434757621 Mon Sep 17 00:00:00 2001 From: Duncan Mak Date: Thu, 25 Jul 2002 11:42:04 +0000 Subject: [PATCH] 2002-07-25 Duncan Mak * TestRange.cs: Fix the EventHandlers here. svn path=/trunk/gtk-sharp/; revision=6167 --- sample/test/ChangeLog | 4 ++++ sample/test/TestRange.cs | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/sample/test/ChangeLog b/sample/test/ChangeLog index df637c90c..7c1987467 100644 --- a/sample/test/ChangeLog +++ b/sample/test/ChangeLog @@ -1,3 +1,7 @@ +2002-07-25 Duncan Mak + + * TestRange.cs: Fix the EventHandlers here. + 2002-07-23 Duncan Mak * TestMenus.cs: Use MenuItem instead of ImageMenuItem, this test diff --git a/sample/test/TestRange.cs b/sample/test/TestRange.cs index 0011ae922..ec7652f7c 100644 --- a/sample/test/TestRange.cs +++ b/sample/test/TestRange.cs @@ -45,7 +45,7 @@ namespace WidgetViewer { hscale = new HScale (adjustment); hscale.DrawValue = true; - hscale.FormatValue += new EventHandler (reformat_value); + hscale.FormatValue += new FormatValueHandler (reformat_value); box2.PackStart (hscale, true, true, 0); @@ -65,7 +65,7 @@ namespace WidgetViewer { vscale = new VScale (adjustment); vscale.DrawValue = true; - vscale.FormatValue += new EventHandler (reformat_value); + vscale.FormatValue += new FormatValueHandler (reformat_value); hbox.PackStart (vscale, true, true, 0); box2.PackStart (hbox, true, true, 0); @@ -91,7 +91,7 @@ namespace WidgetViewer { window.Destroy (); } - static void reformat_value (object o, EventArgs args) + static void reformat_value (object o, FormatValueArgs args) { } }