diff --git a/src/itempreferences.vala b/src/itempreferences.vala index 946d67b..9291288 100644 --- a/src/itempreferences.vala +++ b/src/itempreferences.vala @@ -159,7 +159,7 @@ public class ItemPreferences : Object { return; var path = this.itemstore.get_path(iter); - this.itemstore.remove(iter); + this.itemstore.remove(ref iter); if (!this.itemstore.get_iter(out iter, path)) path.prev(); this.itemselection.select_path(path);