diff options
author | Brendan Long <self@brendanlong.com> | 2017-10-28 17:23:48 +0300 |
---|---|---|
committer | Brendan Long <self@brendanlong.com> | 2017-10-28 17:23:48 +0300 |
commit | 0a64ffbc6da47c348ab4b79ce24a044783368e03 (patch) | |
tree | 267fd5dd93cce327bbb9844794a5d8ab37492a77 | |
parent | 3d1486e9f1c9b385c8e304c27e6cda0205121c49 (diff) |
One more null check
-rw-r--r-- | src/Widgets/FeedRow.vala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Widgets/FeedRow.vala b/src/Widgets/FeedRow.vala index 08404aea..420ced14 100644 --- a/src/Widgets/FeedRow.vala +++ b/src/Widgets/FeedRow.vala @@ -417,6 +417,9 @@ public class FeedReader.FeedRow : Gtk.ListBoxRow { public void activateUnreadEventbox(bool activate) { + if(m_unreadBox == null) + return; + if(activate) { m_unreadBox.button_press_event.connect(onUnreadClick); |