diff options
author | linkmauve <linkmauve@linkmauve.fr> | 2017-10-23 15:10:15 +0100 |
---|---|---|
committer | fiaxh <fiaxh@users.noreply.github.com> | 2017-10-23 16:10:15 +0200 |
commit | 1e1aa704a2e50d8712878253eaf8ec3d3c4a15d9 (patch) | |
tree | 9b2e749b0d7de8d20067ce47ae7ff824fa12a0aa /main/src | |
parent | e7b5aa140b49bfad2f64c6a4a18fa7878d9680d9 (diff) | |
download | dino-1e1aa704a2e50d8712878253eaf8ec3d3c4a15d9.tar.gz dino-1e1aa704a2e50d8712878253eaf8ec3d3c4a15d9.zip |
Remove new from struct initialisation, as it is deprecated (#180)
* Remove new from struct initialisation, as it is deprecated.
* Use Map.has_key instead of Map.contains, as it is deprecated.
Diffstat (limited to 'main/src')
-rw-r--r-- | main/src/ui/conversation_summary/conversation_view.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/ui/conversation_summary/conversation_view.vala b/main/src/ui/conversation_summary/conversation_view.vala index dcd24652..93464a95 100644 --- a/main/src/ui/conversation_summary/conversation_view.vala +++ b/main/src/ui/conversation_summary/conversation_view.vala @@ -27,7 +27,7 @@ public class ConversationView : Box, Plugins.ConversationItemCollection { private double? was_upper; private double? was_page_size; - private Mutex reloading_mutex = new Mutex(); + private Mutex reloading_mutex = Mutex(); private bool animate = false; public ConversationView(StreamInteractor stream_interactor) { |