gtk: Add ListStore.SetValue overload for long type

Without that change, using ListStore.SetValue with a long would use the
float overload, which might not be expected and cause some issues.

Signed-off-by: Bertrand Lorentz <bertrand.lorentz@gmail.com>
This commit is contained in:
Gankov Andrey 2014-03-06 14:31:11 +03:00 committed by Bertrand Lorentz
parent 80485a464d
commit 1da92bdd62

View File

@ -72,6 +72,13 @@ namespace Gtk {
val.Dispose ();
}
public void SetValue (Gtk.TreeIter iter, int column, long value)
{
GLib.Value val = new GLib.Value (value);
SetValue (iter, column, val);
val.Dispose ();
}
public void SetValue (Gtk.TreeIter iter, int column, string value)
{
GLib.Value val = new GLib.Value (value);