[Gtk-sharp-list] Overloaded method fails in Gtk .14

Pablo Fischer pablo@pablo.com.mx
Thu, 04 Dec 2003 01:24:36 -0600


Hi all!

I was using Gtk# .11 and the code that I was using to 'get' the 'data'
was:
      sel.GetSelected(out model, ref iter);

However, now In Gtk# .14, I get this error every time I try to compile
this code, the error:


AccountsWindow.cs(135) error CS1502: The best overloaded match for
method 'bool Gtk.TreeSelection.GetSelected (out Gtk.TreeModel, out
Gtk.TreeIter)' has some invalid arguments
AccountsWindow.cs(135) error CS1503: Argument 1: Cannot convert from
'ref Gtk.TreeIter' to 'out Gtk.TreeIter'

So, somebody knows the correct way to do this in Gtk# .14?

Console.WriteLine("Thanks anyway!");

Pablo