[prefrences dialog] adopt to vala 0.36 gtk binding changes

- this will dump min. vala dependency up to v0.36
This commit is contained in:
Philip Müller 2017-05-11 19:05:01 +02:00 committed by GitHub
parent 974cfe15ac
commit 2aaf2f7ecf
1 changed files with 1 additions and 1 deletions

View File

@ -273,7 +273,7 @@ namespace Pamac {
Gtk.TreeIter? iter;
Gtk.TreeSelection selection = ignorepkgs_treeview.get_selection ();
if (selection.get_selected (null, out iter)) {
ignorepkgs_liststore.remove (iter);
ignorepkgs_liststore.remove (ref iter);
var ignorepkg_string = new StringBuilder ();
ignorepkgs_liststore.foreach ((model, path, iter) => {
GLib.Value name;