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:
parent
80485a464d
commit
1da92bdd62
1 changed files with 7 additions and 0 deletions
|
@ -72,6 +72,13 @@ namespace Gtk {
|
||||||
val.Dispose ();
|
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)
|
public void SetValue (Gtk.TreeIter iter, int column, string value)
|
||||||
{
|
{
|
||||||
GLib.Value val = new GLib.Value (value);
|
GLib.Value val = new GLib.Value (value);
|
||||||
|
|
Loading…
Reference in a new issue