mirror of
				https://github.com/Ryujinx/GtkSharp.git
				synced 2025-11-04 08:24:56 +00: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 ();
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		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);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue