2002-11-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* sample/DbClient/GnomeDbClient.cs: * sample/DbClient/client.cs: make them build. svn path=/trunk/gtk-sharp/; revision=9189
This commit is contained in:
parent
ff7659b43e
commit
99facd09b8
3 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2002-11-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
|
||||
|
||||
* sample/DbClient/GnomeDbClient.cs:
|
||||
* sample/DbClient/client.cs: make them build.
|
||||
|
||||
2002-11-25 Alejandro S<>nchez Acosta <raciel@es.gnu.org>
|
||||
|
||||
* Added eventbox, rangewidget, scribble and packing sample widget.
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
using System;
|
||||
using Gda;
|
||||
using GnomeDb;
|
||||
using GdaSharp;
|
||||
using Gtk;
|
||||
using GtkSharp;
|
||||
|
||||
|
@ -56,7 +57,7 @@ class GnomeDbClient {
|
|||
if (dialog.Run () == true) {
|
||||
if (client == null) {
|
||||
client = new Gda.Client ();
|
||||
client.Error += new GtkSharp.ErrorHandler (Client_Error);
|
||||
client.Error += new GdaSharp.ErrorHandler (Client_Error);
|
||||
}
|
||||
|
||||
cnc = client.OpenConnection (dialog.Dsn, dialog.Username, dialog.Password);
|
||||
|
|
|
@ -89,7 +89,7 @@ class Client {
|
|||
toolbar.AppendSpace ();
|
||||
|
||||
toolbar.InsertStock (Stock.Quit, "Quit", String.Empty,
|
||||
new SignalFunc (Quit), -1);
|
||||
new Gtk.SignalFunc (Quit), IntPtr.Zero, -1);
|
||||
|
||||
toolbar.ToolbarStyle = ToolbarStyle.BothHoriz;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue