2002-08-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* sample/GnomeHelloWorld.cs: use DeleteEventHandler.

svn path=/trunk/gtk-sharp/; revision=6480
This commit is contained in:
Gonzalo Paniagua Javier 2002-08-06 20:02:00 +00:00
parent 0479b3c950
commit 4750a00588
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2002-08-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* sample/GnomeHelloWorld.cs: use DeleteEventHandler.
2002-08-07 Duncan Mak <duncan@ximian.com>
* sample/Fifteen.cs: Added new canvas example.

View file

@ -92,7 +92,7 @@ namespace GtkSamples {
public Gtk.Window CreateWindow ()
{
Gnome.App win = new Gnome.App ("gnome-hello-world", "Gnome# Hello World");
win.DeleteEvent += new EventHandler (Window_Delete);
win.DeleteEvent += new DeleteEventHandler (Window_Delete);
win.Menus = CreateMenus ();
@ -118,7 +118,7 @@ namespace GtkSamples {
return 0;
}
static void Window_Delete (object obj, EventArgs args)
static void Window_Delete (object obj, DeleteEventArgs args)
{
SignalArgs sa = (SignalArgs) args;
Application.Quit ();