2002-08-10 Rachel Hestilow <hestilow@ximian.com>

* sample/TreeViewDemo.cs (Main, DeleteCB): Update to use correct
	event handler.

svn path=/trunk/gtk-sharp/; revision=6578
This commit is contained in:
Rachel Hestilow 2002-08-10 23:49:25 +00:00
parent db4c8f1c2d
commit fce41ef511
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2002-08-10 Rachel Hestilow <hestilow@ximian.com>
* sample/TreeViewDemo.cs (Main, DeleteCB): Update to use correct
event handler.
2002-08-09 Kristian Rietveld <kris@gtk.org>
* parser/Gtk.metadata: add a bunch of out arg rules, add

View File

@ -82,7 +82,7 @@ namespace GtkSamples {
Application.Init ();
Window win = new Window ("TreeView demo");
win.DeleteEvent += new EventHandler (DeleteCB);
win.DeleteEvent += new DeleteEventHandler (DeleteCB);
win.DefaultSize = new Size (640,480);
ScrolledWindow sw = new ScrolledWindow ();
@ -114,11 +114,10 @@ namespace GtkSamples {
Application.Run ();
}
private static void DeleteCB (Object o, EventArgs args)
private static void DeleteCB (Object o, DeleteEventArgs args)
{
SignalArgs sa = (SignalArgs) args;
Application.Quit ();
sa.RetVal = true;
args.RetVal = true;
}
}
}