Browse Source

Fixed compilation on FreeBSD

pipelines/235045657
eidheim 5 years ago
parent
commit
5ebccdaa58
  1. 2
      src/tooltips.cpp

2
src/tooltips.cpp

@ -815,7 +815,7 @@ void Tooltip::insert_code(const std::string &code, boost::variant<std::string, G
}
}
if(language) {
auto tmp_view = Gsv::View();
Gsv::View tmp_view;
tmp_view.get_buffer()->set_text(code);
auto scheme = view->get_source_buffer()->get_style_scheme();
tmp_view.get_source_buffer()->set_style_scheme(scheme);

Loading…
Cancel
Save