mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-16 19:44:45 +02:00
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
@ -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 New Issue
Block a user