[seahorse] KeyManagerStore: revert condition in get_iter()
- From: Niels De Graef <nielsdg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [seahorse] KeyManagerStore: revert condition in get_iter()
- Date: Tue, 6 Mar 2018 21:31:38 +0000 (UTC)
commit d478872364b9c64f13bc8a47c4f73495f2fb620d
Author: Niels De Graef <nielsdegraef gmail com>
Date: Tue Mar 6 22:30:27 2018 +0100
KeyManagerStore: revert condition in get_iter()
This is obviously a stupid mistake on my part. Sorry everyone!
common/key-manager-store.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/common/key-manager-store.vala b/common/key-manager-store.vala
index 9f216e2..0fe17c3 100644
--- a/common/key-manager-store.vala
+++ b/common/key-manager-store.vala
@@ -436,7 +436,7 @@ public class Seahorse.KeyManagerStore : Gcr.CollectionModel {
public static GLib.Object? get_object_from_path (Gtk.TreeView view, Gtk.TreePath? path) {
Gtk.TreeIter? iter;
- if (view.model.get_iter (out iter, path))
+ if (!view.model.get_iter (out iter, path))
return null;
return ((Gcr.CollectionModel) view.model).object_for_iter(iter);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]