[Gtk-sharp-list] GnomeDb sample doesn't compile

Rodrigo Moya rodrigo@ximian.com
Fri, 21 Nov 2003 23:32:02 +0100


On Fri, 2003-11-21 at 20:35, Marius Andreiana wrote:
> On Vi, 2003-11-21 at 18:04, Mike Kestner wrote:
> > gtk_button_new_from_stock is now called by the Button (string) ctor, so
> > the static method is no longer needed.  The sample just needs updating.
> ok, I attached a patch.
> It works now, thanks

hmm:

> -               button = Button.NewFromStock (Stock.Add);
> +               button = new Button();
>
shouldn't this be:

	button = new Button (Stock.Add);

so that it uses the Button (string) constructor?

cheers