From 634a1161844d1dcd54b605d439275bb14e599ee6 Mon Sep 17 00:00:00 2001 From: eidheim Date: Fri, 2 Oct 2015 21:09:11 +0200 Subject: [PATCH] Now compiles on Ubuntu 14. --- src/source.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/source.cc b/src/source.cc index 1115c3d..b5efc4a 100644 --- a/src/source.cc +++ b/src/source.cc @@ -2077,7 +2077,7 @@ bool Source::ClangViewAutocomplete::restart_parse() { Source::ClangViewRefactor::ClangViewRefactor(const boost::filesystem::path &file_path, const boost::filesystem::path& project_path, Glib::RefPtr language): Source::ClangViewAutocomplete(file_path, project_path, language) { similar_tokens_tag=get_buffer()->create_tag(); - similar_tokens_tag->property_weight()=Pango::WEIGHT_ULTRAHEAVY; + similar_tokens_tag->property_weight()=1000; //TODO: replace with Pango::WEIGHT_ULTRAHEAVY in 2016 or so (when Ubuntu 14 is history) get_buffer()->signal_changed().connect([this]() { if(!renaming && last_tagged_token) {