From 99facd09b81f12468992a621e239cc2aa776f38a Mon Sep 17 00:00:00 2001 From: Gonzalo Paniagua Javier Date: Tue, 26 Nov 2002 00:19:58 +0000 Subject: [PATCH] 2002-11-26 Gonzalo Paniagua Javier * sample/DbClient/GnomeDbClient.cs: * sample/DbClient/client.cs: make them build. svn path=/trunk/gtk-sharp/; revision=9189 --- ChangeLog | 5 +++++ sample/DbClient/GnomeDbClient.cs | 3 ++- sample/DbClient/client.cs | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index cf968a8e5..bad04d296 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-11-26 Gonzalo Paniagua Javier + + * sample/DbClient/GnomeDbClient.cs: + * sample/DbClient/client.cs: make them build. + 2002-11-25 Alejandro Sánchez Acosta * Added eventbox, rangewidget, scribble and packing sample widget. diff --git a/sample/DbClient/GnomeDbClient.cs b/sample/DbClient/GnomeDbClient.cs index 0f76d39c3..d637eef40 100644 --- a/sample/DbClient/GnomeDbClient.cs +++ b/sample/DbClient/GnomeDbClient.cs @@ -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); diff --git a/sample/DbClient/client.cs b/sample/DbClient/client.cs index aa20ffd61..40dd449b4 100644 --- a/sample/DbClient/client.cs +++ b/sample/DbClient/client.cs @@ -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; }