diff options
author | Marius Ungureanu <marius.ungureanu@xamarin.com> | 2016-09-26 01:16:38 +0300 |
---|---|---|
committer | Marius Ungureanu <marius.ungureanu@xamarin.com> | 2016-09-26 01:16:38 +0300 |
commit | bdd56ad5afb8499fbd0f8cfeb3cde51937c06bb2 (patch) | |
tree | 7b6e69f57614ecfdc099afdea5b64612fd963ee7 /Xwt.Gtk/Xwt.GtkBackend/TreeViewBackend.cs | |
parent | b5fe8830fd79b53241f13a196c5d86435ddc4db9 (diff) |
[Perf] Misc method groups instead of linq where applicable.
Diffstat (limited to 'Xwt.Gtk/Xwt.GtkBackend/TreeViewBackend.cs')
-rw-r--r-- | Xwt.Gtk/Xwt.GtkBackend/TreeViewBackend.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xwt.Gtk/Xwt.GtkBackend/TreeViewBackend.cs b/Xwt.Gtk/Xwt.GtkBackend/TreeViewBackend.cs index a2d04ee4..2a5d1f28 100644 --- a/Xwt.Gtk/Xwt.GtkBackend/TreeViewBackend.cs +++ b/Xwt.Gtk/Xwt.GtkBackend/TreeViewBackend.cs @@ -342,7 +342,7 @@ namespace Xwt.GtkBackend TreePosition toggledItem = null; - var pathParts = path.Split (':').Select (part => int.Parse (part)); + var pathParts = path.Split (':').Select (int.Parse); foreach (int pathPart in pathParts) { toggledItem = treeFrontend.DataSource.GetChild (toggledItem, pathPart); |