[dconf-editor] Nullable annotation.
- From: Arnaud Bonatti <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dconf-editor] Nullable annotation.
- Date: Fri, 12 Aug 2016 09:56:32 +0000 (UTC)
commit e50f6c51ec4417aac0c2f2599ec41b4310739eb8
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Fri Aug 12 11:56:17 2016 +0200
Nullable annotation.
editor/registry-view.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/editor/registry-view.vala b/editor/registry-view.vala
index 9e0926b..53f06c2 100644
--- a/editor/registry-view.vala
+++ b/editor/registry-view.vala
@@ -81,7 +81,7 @@ class RegistryView : Grid, PathElement
if (selected != null)
{
check_resize ();
- ListBoxRow row = key_list_box.get_row_at_index (get_row_position ((!) selected));
+ ListBoxRow? row = key_list_box.get_row_at_index (get_row_position ((!) selected));
if (row == null)
assert_not_reached ();
scroll_to_row ((!) row);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]