From 1e1aa704a2e50d8712878253eaf8ec3d3c4a15d9 Mon Sep 17 00:00:00 2001 From: linkmauve Date: Mon, 23 Oct 2017 15:10:15 +0100 Subject: 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. --- main/src/ui/conversation_summary/conversation_view.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/src/ui') 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) { -- cgit v1.2.3-70-g09d2